private void Unsubscribe() { if (AssociatedObject == null) { return; } if (anyEventHandler != null) { anyEventHandler.EventRaise -= AnyEventHandler_EventRaise; anyEventHandler.Dispose(); anyEventHandler = null; } }
private void Unsubscribe() { if (AssociatedObject == null) { return; } if (anyEventHandler != null) { anyEventHandler.EventRaise -= AnyEventHandler_EventRaise; anyEventHandler.Dispose(); anyEventHandler = null; } }