示例#1
0
        protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
        {
            EventHandler <CommandLineExceptionEventArgs> handler = CommandLineException;

            if (handler != null)
            {
                handler(sender, new CommandLineExceptionEventArgs(exception));
            }
        }
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
示例#3
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
示例#4
0
 protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
 {
     EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException;
       if (handler != null)
       {
     handler(sender, new CommandLineExceptionEventArgs(exception));
       }
 }