protected virtual void OnProcessStateChanged(string processName, ServiceProcessState processState) { // Notify all service event consumer of change in process state if ((object)ProcessStateChanged != null) ProcessStateChanged(this, new EventArgs<string, ServiceProcessState>(processName, processState)); // Notify all remote clients of change in process state SendProcessStateChangedResponse(processName, processState); }