using System;
namespace StardewModdingAPI.Events
{
/// Event arguments for a event.
[Obsolete("Use " + nameof(IModHelper) + "." + nameof(IModHelper.ConsoleCommands))]
public class EventArgsCommand : EventArgs
{
/*********
** Accessors
*********/
/// The triggered command.
public Command Command { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The triggered command.
public EventArgsCommand(Command command)
{
this.Command = command;
}
}
}