Exemple #1
0
 protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
 {
     EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException;
     if (handler != null)
     {
         handler(sender, new CommandLineExceptionEventArgs(exception));
     }
 }
Exemple #2
0
        protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
        {
            EventHandler <CommandLineExceptionEventArgs> handler = CommandLineException;

            if (handler != null)
            {
                handler(sender, new CommandLineExceptionEventArgs(exception));
            }
        }
Exemple #3
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }