SourceText.From

From(string)

Define the interface for get SourceText from string.

public static SourceText From(string text)
ParameterTypeDescription
textStringThe string text.

Return Value

The SourceText.

See Also


From(string, Encoding)

Define the interface for get SourceText from string and encoding.

public static SourceText From(string text, Encoding encoding)
ParameterTypeDescription
textStringThe string text.
encodingEncodingThe encoding.

Return Value

The SourceText.

See Also


From(SourceText[])

Define the interface for get SourceText from array of the source.

public static SourceText From(SourceText[] source)
ParameterTypeDescription
sourceSourceText[]The SourceText.

Return Value

The SourceText.

See Also