Skip to content

ChartFileDataSourceBase.ChartTextPayload

StructChartGuruChartGuru
protected readonly struct ChartFileDataSourceBase.ChartTextPayload

One immutable text response and its optional media type.

public readonly string Text

Returns

System.String

public readonly string ContentType

Returns

System.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