Show / Hide Table of Contents

Class ContentInfo

Holder class for a content object and metadata about that object to be set in content headers if provided

Inheritance
Object
ContentInfo
StreamInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DynamicRestProxy.PortableHttpClient
Assembly: DynamicRestProxy.NetStandard.dll
Syntax
public class ContentInfo

Constructors

| Improve this Doc View Source

ContentInfo(Object, String)

ctor

Declaration
public ContentInfo(object content, string mimeType = "")
Parameters
Type Name Description
Object content
String mimeType

Properties

| Improve this Doc View Source

Content

The content to send

Declaration
public object Content { get; }
Property Value
Type Description
Object
| Improve this Doc View Source

ContentHeaders

Additional content headers

Declaration
public IDictionary<string, string> ContentHeaders { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<String, String>
| Improve this Doc View Source

MimeType

The MIME type of the content object

Declaration
public string MimeType { get; }
Property Value
Type Description
String
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX