6 references to GetContentType
System.ServiceModel.Web (6)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (4)
44
return WebMessageEncoderFactory.
GetContentType
(JsonGlobals.applicationJsonMediaType, TextEncoderDefaults.Encoding);
48
return WebMessageEncoderFactory.
GetContentType
(JsonGlobals.applicationJsonMediaType, encodingElement.WriteEncoding);
59
contentEncoding.contentType = WebMessageEncoderFactory.
GetContentType
(mediaType, readEncodings[i]);
110
this.contentType = WebMessageEncoderFactory.
GetContentType
(JsonGlobals.applicationJsonMediaType, writeEncoding);
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
86
this.defaultContentType =
GetContentType
(defaultMediaType, writeEncoding);
System\ServiceModel\Web\WebOperationContext.cs (1)
360
contentType = WebMessageEncoderFactory.
GetContentType
(contentType, encoding);