private void InitializeRawContent(HttpResponseMessage baseResponse) { StringBuilder raw = ContentHelper.GetRawContentHeader(baseResponse); raw.Append(Content); this.RawContent = raw.ToString(); }
private void InitializeRawContent(WebResponse baseResponse) { StringBuilder rawContentHeader = ContentHelper.GetRawContentHeader(baseResponse); rawContentHeader.Append(this.Content); base.RawContent = rawContentHeader.ToString(); }
private void InitializeRawContent(WebResponse baseResponse) { StringBuilder raw = ContentHelper.GetRawContentHeader(baseResponse); if (null != Content) { raw.Append(Content); } this.RawContent = raw.ToString(); }
private void InitializeRawContent(WebResponse baseResponse) { StringBuilder rawContentHeader = ContentHelper.GetRawContentHeader(baseResponse); if (this.Content.Length > 0) { rawContentHeader.Append(this.ToString()); } this.RawContent = rawContentHeader.ToString(); }
private void InitializeRawContent(HttpResponseMessage baseResponse) { StringBuilder raw = ContentHelper.GetRawContentHeader(baseResponse); // Use ASCII encoding for the RawContent visual view of the content. if (Content.Length > 0) { raw.Append(this.ToString()); } this.RawContent = raw.ToString(); }