protected internal virtual void OnCommandLineProcessing(CommandLineProcessingEventArgs e) { var handler = CommandLineProcessing; if (handler != null) { handler(this, e); } }
private void OnBeforeCommandLineProcessing(IntPtr self, IntPtr processtype, IntPtr commandline) { var e = new CommandLineProcessingEventArgs { ProcessType = processtype == IntPtr.Zero ? string.Empty : StringUtf16.ReadString(processtype), CommandLine = CommandLine.FromHandle(commandline) }; _delegate.OnCommandLineProcessing(e); }