Exemplo n.º 1
0
        internal static IDisposable Push(CorrelationContext correlationContext)
        {
            var currentContext = CurrentContext;
            var newContext     = new ServiceContext(currentContext, correlationContext);

            return(Push(newContext));
        }
Exemplo n.º 2
0
 private ServiceContext(ServiceContext previous, CorrelationContext correlationContext)
     : this(previous)
 {
     this._correlationContext = correlationContext;
 }