Exemplo n.º 1
0
        protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
        {
            EventHandler <CommandLineExceptionEventArgs> handler = CommandLineException;

            if (handler != null)
            {
                handler(sender, new CommandLineExceptionEventArgs(exception));
            }
        }
Exemplo n.º 2
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }
Exemplo n.º 3
0
 protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
 {
     EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException;
       if (handler != null)
       {
     handler(sender, new CommandLineExceptionEventArgs(exception));
       }
 }
Exemplo n.º 4
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }