ChartFileDataSourceBase.ChartTextPayload
protected readonly struct ChartFileDataSourceBase.ChartTextPayloadOne immutable text response and its optional media type.
Fields
Section titled “Fields”
public readonly string TextReturns
System.String
ContentType
Section titled “ContentType”public readonly string ContentTypeReturns
System.String
Constructors
Section titled “Constructors”
ChartTextPayload(string, string)
Section titled “ChartTextPayload(string, string)”public ChartTextPayload(string text, string contentType = "")Creates a text response with an optional media type, normalizing null strings to empty strings.
Parameters
| Name | Type |
|---|---|
text |
System.String |
contentType |
System.String |