protected virtual void OnServiceStarting(string[] args) { // Notify service event consumers of pending service start if ((object)ServiceStarting != null) ServiceStarting(this, new EventArgs<string[]>(args)); }