Struct TextSpan
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
Assembly: DotLang.dll
Syntax
Constructors
|
Improve this Doc
View Source
TextSpan(Int32, Int32)
Declaration
public TextSpan(int start, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
start |
|
System.Int32 |
length |
|
Properties
|
Improve this Doc
View Source
End
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Length
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Start
Declaration
public int Start { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
FromBounds(Int32, Int32)
Declaration
public static TextSpan FromBounds(int start, int end)
Parameters
Type |
Name |
Description |
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()