/// <summary> /// Creates a cached copy of the <see cref="MDC" />. /// </summary> protected void CacheMappedContext() { // Copy the MDC dictionary if (m_data.MDC == null || m_data.MDC.IsReadOnly == false) { m_data.MDC = MDC.CopyMap(); } }