コード例 #1
0
ファイル: CommandLine.cs プロジェクト: cube3power/Cowboy
 protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
 {
     EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException;
     if (handler != null)
     {
         handler(sender, new CommandLineExceptionEventArgs(exception));
     }
 }
コード例 #2
0
ファイル: CommandLine.cs プロジェクト: egb2000/CowboyTCP
        protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
        {
            EventHandler <CommandLineExceptionEventArgs> handler = CommandLineException;

            if (handler != null)
            {
                handler(sender, new CommandLineExceptionEventArgs(exception));
            }
        }
コード例 #3
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
コード例 #4
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }