Range

Class in Yarn.Compiler

Inherits from System.Object

Summary

Represents a range of text in a multi-line string.

public class Range

Constructors

NameDescription
Range(int,int,int,int)Initializes a new instance of the Range class, given start and end information.
Range(Position,Position)Initializes a new instance of the Range class, given start and end information.

Fields

NameDescription
InvalidRangeRepresents the default value for a Range.

Methods

Properties

NameDescription
EndGets or sets the end position of this range.
IsValidGets a value indicating whether this range is valid.
StartGets or sets the start position of this range.