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