1 write to responseFormat
System.Data.Services (1)
System\Data\Services\ResponseBodyWriter.cs (1)
70
this.
responseFormat
= responseFormat;
7 references to responseFormat
System.Data.Services (7)
System\Data\Services\ResponseBodyWriter.cs (7)
106
switch (this.
responseFormat
)
150
if (this.
responseFormat
== ContentFormat.Json)
167
if (ContentFormat.Json == this.
responseFormat
)
171
else if (ContentFormat.PlainXml == this.
responseFormat
)
200
this.
responseFormat
== ContentFormat.MetadataDocument,
201
"responseFormat(" + this.
responseFormat
+ ") == ContentFormat.MetadataDocument -- otherwise exception should have been thrown before");
217
string contentType = (this.
responseFormat
== ContentFormat.Json) ? XmlConstants.MimeApplicationJson : XmlConstants.MimeApplicationXml;