/// <summary> /// Constructs a logging context from another logging context. This is used primarily in /// the constructors for other logging contexts to populate the logging service parameter, /// while the event context will come from a call into the logging service itself. /// </summary> /// <param name="baseContext">The context from which this context is being created.</param> protected BaseLoggingContext(BaseLoggingContext baseContext) { _loggingService = baseContext._loggingService; _eventContext = null; _isValid = baseContext._isValid; _isInProcNode = baseContext._isInProcNode; }