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

            if (handler != null)
            {
                handler(sender, new CommandLineExceptionEventArgs(exception));
            }
        }
示例#2
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
示例#3
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;
 }