Files
RAGECOOP-V/RageCoop.Client/LemonUI/Menus/MenuModifiedEventArgs.cs

36 lines
950 B
C#
Raw Normal View History

2022-06-27 13:02:31 +08:00
namespace LemonUI.Menus
{
/// <summary>
/// Represents the different
/// </summary>
public class MenuModifiedEventArgs
{
#region Properties
/// <summary>
/// The item that was modified.
/// </summary>
public NativeItem Item { get; }
/// <summary>
/// The operation that was performed in the item.
/// </summary>
public ItemOperation Operation { get; }
#endregion
#region Constructors
/// <summary>
/// Creates a new <see cref="MenuModifiedEventArgs"/>.
/// </summary>
/// <param name="item">The item that was modified.</param>
/// <param name="operation">The operation that was performed in the item.</param>
public MenuModifiedEventArgs(NativeItem item, ItemOperation operation)
{
Item = item;
Operation = operation;
}
#endregion
}
}