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