예제 #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
파일: CommandLine.cs 프로젝트: ihassin/Tail
 protected virtual void RaiseCommandLineException(object sender, CommandLineException exception)
 {
     EventHandler<CommandLineExceptionEventArgs> handler = CommandLineException;
       if (handler != null)
       {
     handler(sender, new CommandLineExceptionEventArgs(exception));
       }
 }
예제 #4
0
 public CommandLineExceptionEventArgs(CommandLineException exception)
 {
     Exception = exception;
 }