コード例 #1
0
        public static IDisposable Push(object state)
        {
            var temp = Current;

            Current        = new EventFlowLoggerScope(state);
            Current.Parent = temp;

            return(new DisposableScope());
        }
コード例 #2
0
 public IDisposable BeginScope <TState>(TState state)
 {
     return(EventFlowLoggerScope.Push(state));
 }