public void Unsubscribe(GothicSpyProcess.ZSpyMessageNotify notify) { // ReSharper disable once DelegateSubtraction if (_gothicSpyProcessInstance.notifyEvent != null) { _gothicSpyProcessInstance.notifyEvent -= notify; } }
public void Subscribe(GothicSpyProcess.ZSpyMessageNotify notify) { _gothicSpyProcessInstance.notifyEvent += notify; }