1 write to formatters
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (1)
45
this.
formatters
= new Dictionary<string, MultiplexingDispatchMessageFormatter>();
9 references to formatters
System.ServiceModel.Web (9)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (9)
58
Fx.Assert(!this.
formatters
.ContainsKey(operationName), "An operation should only be registered once.");
59
this.
formatters
.Add(operationName, formatter);
71
if (!string.IsNullOrEmpty(operationName) && this.
formatters
.ContainsKey(operationName))
117
Fx.Assert(this.
formatters
.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary.");
139
if (this.
formatters
[operationName].SupportsMessageFormat(format) &&
154
Fx.Assert(this.
formatters
.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary.");
165
if (this.
formatters
[operationName].SupportsMessageFormat(mapping.MessageFormat) &&
185
Fx.Assert(this.
formatters
.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary.");
186
WebMessageFormat format = this.
formatters
[operationName].DefaultFormat;