ValueSpan<T> Struct
Definition
Pairing of value and positions sharing that value.
public struct ValueSpan<T>
Constructors
| Name | Description |
|---|---|
| ValueSpan<T> | No summary available. |
ValueSpan<T> Constructor
public ValueSpan<T>(int start, int length, T value)
Parameters
start int
length int
value T
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Utilities.ValueSpan<T><T> other)
Parameters
other Avalonia.Utilities.ValueSpan<T><T>
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Length | Get's the length of the span. |
| Start | Get's the start of the span. |
| Value | Get's the value of the span. |
Length Property
Get's the length of the span.
public int Length { get; set; }
Start Property
Get's the start of the span.
public int Start { get; set; }
Value Property
Get's the value of the span.
public T Value { get; set; }