TomlSourceSpan(String, TomlTextPosition, TomlTextPosition) Constructor

Definition

Namespace Tomlyn.Text
Assembly Tomlyn.dll

Initializes a new instance of the TomlSourceSpan struct.

public TomlSourceSpan(string sourceName, TomlTextPosition start, TomlTextPosition end)

Parameters

sourceName
String

An optional source name (for example a file path).

start
TomlTextPosition

The start position.

end
TomlTextPosition

The end position.