Ejemplo n.º 1
0
 // Token: 0x0600086B RID: 2155 RVA: 0x0003E71C File Offset: 0x0003C91C
 internal static void SetThreadCulture(OwaContext owaContext)
 {
     if (!Culture.IsThreadCultureSet(owaContext))
     {
         if (owaContext.Culture != null)
         {
             ExTraceGlobals.CoreTracer.TraceDebug <string>(0L, "OwaContext.Culture was already set for this request but not for this thread (proxy scenario). Setting the Culture request \"{0}\" in the current thread.", owaContext.Culture.ToString());
             Culture.InternalSetThreadCulture(owaContext.Culture, owaContext);
             return;
         }
         ExTraceGlobals.CoreTracer.TraceDebug(0L, "OwaContext.Culture was never set for this request. Setting the Culture request and culture thread to default culture.");
         Culture.InternalSetThreadCulture(Culture.GetDefaultCulture(owaContext), owaContext);
     }
 }