2 instantiations of FormatContentTypePair
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (2)
143this.caches[operationName].AddOrUpdate(acceptHeader.ToUpperInvariant(), new FormatContentTypePair(format, contentTypeStr)); 190this.caches[operationName].AddOrUpdate(acceptHeader.ToUpperInvariant(), new FormatContentTypePair(format, null));
4 references to FormatContentTypePair
System.ServiceModel.Web (4)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (4)
24Dictionary<string, NameValueCache<FormatContentTypePair>> caches; 47this.caches = new Dictionary<string, NameValueCache<FormatContentTypePair>>(); 60this.caches.Add(operationName, new NameValueCache<FormatContentTypePair>(maxCachedAcceptHeaders)); 105FormatContentTypePair pair = caches[operationName].Lookup(acceptHeader.ToUpperInvariant());