1 write to caches
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (1)
47this.caches = new Dictionary<string, NameValueCache<FormatContentTypePair>>();
5 references to caches
System.ServiceModel.Web (5)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (5)
60this.caches.Add(operationName, new NameValueCache<FormatContentTypePair>(maxCachedAcceptHeaders)); 102Fx.Assert(this.caches.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the caches dictionary."); 105FormatContentTypePair pair = caches[operationName].Lookup(acceptHeader.ToUpperInvariant()); 143this.caches[operationName].AddOrUpdate(acceptHeader.ToUpperInvariant(), new FormatContentTypePair(format, contentTypeStr)); 190this.caches[operationName].AddOrUpdate(acceptHeader.ToUpperInvariant(), new FormatContentTypePair(format, null));