public static void SubscribeToWidgetFunctionsRemovedEvent(WidgetFunctionsRemovedEventDelegate widgetFunctionsRemovedEventDelegate) { lock (_lock) { _widgetFunctionsRemovedEvent += widgetFunctionsRemovedEventDelegate; } }
public static void FireWidgetFunctionRemovedEvent(WidgetFunctionsRemovedEventArgs widgetFunctionsRemovedEventArgs) { lock (_lock) { if (_widgetFunctionsRemovedEvent != null) { WidgetFunctionsRemovedEventDelegate widgetFunctionsRemovedEvent = _widgetFunctionsRemovedEvent; widgetFunctionsRemovedEvent(widgetFunctionsRemovedEventArgs); } } }
public static void SubscribeToWidgetFunctionsRemovedEvent(WidgetFunctionsRemovedEventDelegate widgetFunctionsRemovedEventDelegate) { lock (_lock) { _widgetFunctionsRemovedEvent += widgetFunctionsRemovedEventDelegate; } }