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; }
protected virtual void RaiseCommandLineException(object sender, CommandLineException exception) { EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException; if (handler != null) { handler(sender, new CommandLineExceptionEventArgs(exception)); } }