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