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