Provides extension methods for tuples.
InheritanceTupleExtensions
Namespace: DotNext Assembly: DotNext.dll Syntaxpublic static class TupleExtensions
Methods | Edit this page View Source AsReadOnlySpan<T>(in ValueTuple)
Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this in ValueTuple tuple)
Parameters Type Name Description () tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T, T, T, T, T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T, T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T, T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T, T, T, T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T, T, T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T, T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T, T) tuple)
Parameters Type Name Description (T, T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly (T, T))Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly (T, T) tuple)
Parameters Type Name Description (T, T) tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsReadOnlySpan<T>(ref readonly ValueTuple<T>)Obtains read-only span over tuple items.
Declarationpublic static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref readonly ValueTuple<T> tuple)
Parameters Type Name Description ValueTuple<T> tuple
The tuple.
Returns Type Description ReadOnlySpan<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref ValueTuple)Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref ValueTuple tuple)
Parameters Type Name Description () tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T, T, T, T, T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T, T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T, T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T, T, T, T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T, T, T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T, T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T, T, T) tuple)
Parameters Type Name Description (T, T, T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T, T) tuple)
Parameters Type Name Description (T, T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref (T, T))Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref (T, T) tuple)
Parameters Type Name Description (T, T) tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source AsSpan<T>(ref ValueTuple<T>)Obtains a span over tuple items.
Declarationpublic static Span<T> AsSpan<T>(this ref ValueTuple<T> tuple)
Parameters Type Name Description ValueTuple<T> tuple
The tuple.
Returns Type Description Span<T>The span over items in the tuple.
Type Parameters Name Description TThe type of items in the tuple.
| Edit this page View Source ToArray<T>(T)Copies tuple items to an array.
Declarationpublic static object?[] ToArray<T>(this T tuple) where T : ITuple
Parameters Type Name Description T tuple
The tuple instance.
Returns Type Description object[]An array of tuple items.
Type Parameters Name Description TThe type of the tuple.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4