Struct Index
A placeholder to allow the .NET 4.8 functionality to compile. DO NOT USE!
Implements
Inherited Members
Namespace: System
Assembly: Gorgon.Core.dll
Syntax
public struct Index : IEquatable<Index>
Constructors
| Edit this page View SourceIndex(int, bool)
Initializes a new instance of the Index struct.
Declaration
public Index(int p1, bool p2)
Parameters
Type | Name | Description |
---|---|---|
int | p1 | The p1. |
bool | p2 | if set to |
Properties
| Edit this page View SourceEnd
Dummy property.
Declaration
public readonly int End { get; }
Property Value
Type | Description |
---|---|
int |
IsFromEnd
Dummy property.
Declaration
public readonly bool IsFromEnd { get; }
Property Value
Type | Description |
---|---|
bool |
Start
Dummy property.
Declaration
public readonly int Start { get; }
Property Value
Type | Description |
---|---|
int |
Value
Dummy property.
Declaration
public readonly int Value { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceEquals(Index)
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly bool Equals(Index other)
Parameters
Type | Name | Description |
---|---|---|
Index | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool |
true
True
true
true (True in Visual Basic) if the current object is equal to the other parameter; otherwise, falseFalsefalsefalse (False in Visual Basic).
|
GetOffset(int)
Gets the offset.
Declaration
public readonly int GetOffset(int length)
Parameters
Type | Name | Description |
---|---|---|
int | length | The length. |
Returns
Type | Description |
---|---|
int | int. |
Operators
| Edit this page View Sourceimplicit operator Index(int)
Declaration
public static implicit operator Index(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value | The value. |
Returns
Type | Description |
---|---|
Index | The result of the conversion. |