CK.Monitoring.Impl.EventDispatcher.FinalReceiver.Dispatch C# (CSharp) Method

Dispatch() private method

private Dispatch ( GrandOutputEventInfo e ) : void
e GrandOutputEventInfo
return void
            internal void Dispatch( GrandOutputEventInfo e )
            {
                if( CommonSink != null )
                {
                    try
                    {
                        CommonSink.Handle( e, false );
                    }
                    catch( Exception ex )
                    {
                        ActivityMonitor.CriticalErrorCollector.Add( ex, "While logging event into Global sinks." );
                    }
                }
                try
                {
                    foreach( var h in Handlers ) h.Handle( e, false );
                }
                catch( Exception ex )
                {
                    ActivityMonitor.CriticalErrorCollector.Add( ex, "While logging event." );
                }
                finally
                {
                    if( ConfigLock != null ) ConfigLock.Unlock();
                }
            }
        }
EventDispatcher.FinalReceiver