Свойство | Тип | Описание | |
---|---|---|---|
MaxSize | int |
Метод | Описание | |
---|---|---|
Create ( ) : Expression |
Provides an expression for creating a tuple with the specified values.
|
|
GetAccessPath ( |
Gets the series of properties that needs to be accessed to access a logical item in a potentially nested tuple.
|
|
GetNestedValue ( int size, int index ) : object |
Gets the value at the given index for a tuple of the given size. This get supports walking through nested tuples to get the correct final index.
|
|
GetSize ( |
Gets the number of usable slots in the provided Tuple type including slots available in nested tuples.
|
|
GetTupleType ( int size ) : |
Gets the unbound generic Tuple type which has at lease size slots or null if a large enough tuple is not available.
|
|
GetTupleValues ( |
Gets the values from a tuple including unpacking nested values.
|
|
GetValue ( int index ) : object | ||
MakeTuple ( |
Creates a new instance of tupleType with the specified args. If the tuple is a nested tuple the values are added in their nested forms.
|
|
MakeTupleType ( ) : |
Creates a generic tuple with the specified types. If the number of slots fits within the maximum tuple size then we simply create a single tuple. If it's greater then we create nested tuples (e.g. a Tuple`2 which contains a Tuple`128 and a Tuple`8 if we had a size of 136).
|
|
SetNestedValue ( int size, int index, object value ) : void |
Sets the value at the given index for a tuple of the given size. This set supports walking through nested tuples to get the correct final index.
|
|
SetValue ( int index, object value ) : void |
Метод | Описание | |
---|---|---|
CreateNew ( |
||
CreateTupleInstance ( |
||
GetAccessPath ( int size, int index ) : IEnumerable |
||
GetAccessProperties ( |
Gets the series of properties that needs to be accessed to access a logical item in a potentially nested tuple.
|
|
GetTupleValues ( |
||
MakeTuple ( |
||
MakeTupleType ( |
||
PowerOfTwoRound ( int value ) : int |
public static GetAccessPath ( |
||
tupleType | ||
index | int | |
Результат | IEnumerable |
public GetNestedValue ( int size, int index ) : object | ||
size | int | |
index | int | |
Результат | object |
public static GetSize ( |
||
tupleType | ||
Результат | int |
public static GetTupleType ( int size ) : |
||
size | int | |
Результат |
public static GetTupleValues ( |
||
tuple | ||
Результат | object[] |
public abstract GetValue ( int index ) : object | ||
index | int | |
Результат | object |
public static MakeTuple ( |
||
tupleType | ||
Результат |
public static MakeTupleType ( ) : |
||
Результат |
public SetNestedValue ( int size, int index, object value ) : void | ||
size | int | |
index | int | |
value | object | |
Результат | void |
public abstract SetValue ( int index, object value ) : void | ||
index | int | |
value | object | |
Результат | void |