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