1 write to _contentType
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
136
_contentType
= mediaValueContentType == null ? string.Empty : mediaValueContentType.ToString();
6 references to _contentType
System.ServiceModel.Http (6)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (6)
140
if (string.IsNullOrEmpty(
_contentType
))
151
if (!_encoder.IsContentTypeSupported(
_contentType
))
160
_contentType
,
191
return await _encoder.ReadMessageAsync(await inputStreamTask, _factory.BufferManager, _factory.MaxBufferSize,
_contentType
, await timeoutHelper.GetCancellationTokenAsync());
245
var message = await _encoder.ReadMessageAsync(maxMessageSizeStream, _factory.MaxBufferSize,
_contentType
);
290
return _encoder.ReadMessage(buffer, _factory.BufferManager,
_contentType
);