コード例 #1
0
ファイル: Command.cs プロジェクト: stweily/Encore
 public override void Execute(CommandArguments args, ICommandUser sender)
 {
     Contract.Requires(args != null);
 }
コード例 #2
0
ファイル: Command.cs プロジェクト: stweily/Encore
 /// <summary>
 /// Executes the command.
 /// </summary>
 /// <param name="args">The arguments to the command.</param>
 /// <param name="sender">The sender of the command (may be null in the case of the console).</param>
 /// <returns>Whether or not arguments were valid.</returns>
 public abstract void Execute(CommandArguments args, ICommandUser sender);