Exemplo n.º 1
0
 public void Decode(WcfMessageEncodingContext context, Message message)
 {
     Thread.CurrentThread.CurrentCulture   = new CultureInfo(TryGetHeaderValue(message, "Culture", "auto"));
     Thread.CurrentThread.CurrentUICulture = new CultureInfo(TryGetHeaderValue(message, "UICulture", "auto"));
     SessionContext.SetCurrent(new SessionContext());
 }
Exemplo n.º 2
0
 public void Encode(WcfMessageEncodingContext context, Message message)
 {
 }