//
// EntityEventArgs.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.ComponentModel;
using NosSmooth.LocalBinding.Structs;
namespace NosSmooth.LocalBinding.EventArgs;
///
/// Event args with an entity stored in .
///
public class EntityEventArgs : CancelEventArgs
{
///
/// Gets the entity.
///
public MapBaseObj? Entity { get; }
///
/// Initializes a new instance of the class.
///
/// The entity.
public EntityEventArgs(MapBaseObj? entity)
{
Entity = entity;
}
}