public static void FireFunctionAddedEvent(FunctionsAddedEventArgs functionsAddedEventArgs)
        {
            lock (_lock)
            {
                if (_functionsAddedEvent != null)
                {
                    FunctionsAddedEventDelegate functionsAddedEvent = _functionsAddedEvent;

                    functionsAddedEvent(functionsAddedEventArgs);
                }
            }
        }
Example #2
0
        public static void FireFunctionAddedEvent(FunctionsAddedEventArgs functionsAddedEventArgs)
        {
            lock (_lock)
            {
                if (_functionsAddedEvent != null)
                {
                    FunctionsAddedEventDelegate functionsAddedEvent = _functionsAddedEvent;

                    functionsAddedEvent(functionsAddedEventArgs);
                }
            }
        }