Beispiel #1
0
        internal static IDisposable Push(CorrelationContext correlationContext)
        {
            var currentContext = CurrentContext;
            var newContext     = new ServiceContext(currentContext, correlationContext);

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