public void ClearMoveToHandler() { if (MoveTo == null) { return; } Delegate[] clientList = MoveTo.GetInvocationList(); foreach (var d in clientList) { MoveTo -= (d as MoveToEventHandler); } }
public void ClearMoveToHandler() { if (MoveTo == null) { return; } Delegate[] clientList = MoveTo.GetInvocationList(); foreach (var d in clientList) { MoveTo -= (d as MoveToEventHandler); } }