public static void SubscribeToFunctionsRemovedEvent(FunctionsRemovedEventDelegate functionsRemovedEventDelegate) { lock (_lock) { _functionsRemovedEvent += functionsRemovedEventDelegate; } }
public static void FireFunctionRemovedEvent(FunctionsRemovedEventArgs functionsRemovedEventArgs) { lock (_lock) { if (_functionsRemovedEvent != null) { FunctionsRemovedEventDelegate functionsRemovedEvent = _functionsRemovedEvent; functionsRemovedEvent(functionsRemovedEventArgs); } } }
public static void SubscribeToFunctionsRemovedEvent(FunctionsRemovedEventDelegate functionsRemovedEventDelegate) { lock (_lock) { _functionsRemovedEvent += functionsRemovedEventDelegate; } }