Show / Hide Table of Contents

Class EnumerableTuple

Provides static methods allow to convert tuples into enumerable collections.

Inheritance
Object
EnumerableTuple
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public static class EnumerableTuple : object

Methods

| Improve this Doc View Source

AsEnumerable<T>((T, T, T, T, T, T, T))

Converts tuple into enumerable collection of seven items.

Declaration
public static EnumerableTuple<T, (T, T, T, T, T, T, T)> AsEnumerable<T>(this (T, T, T, T, T, T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T, T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T, T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>((T, T, T, T, T, T))

Converts tuple into enumerable collection of six items.

Declaration
public static EnumerableTuple<T, (T, T, T, T, T, T)> AsEnumerable<T>(this (T, T, T, T, T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>((T, T, T, T, T))

Converts tuple into enumerable collection of five items.

Declaration
public static EnumerableTuple<T, (T, T, T, T, T)> AsEnumerable<T>(this (T, T, T, T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>((T, T, T, T))

Converts tuple into enumerable collection of four items.

Declaration
public static EnumerableTuple<T, (T, T, T, T)> AsEnumerable<T>(this (T, T, T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>((T, T, T))

Converts tuple into enumerable collection of three items.

Declaration
public static EnumerableTuple<T, (T, T, T)> AsEnumerable<T>(this (T, T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>((T, T))

Converts tuple into enumerable collection of two items.

Declaration
public static EnumerableTuple<T, (T, T)> AsEnumerable<T>(this (T, T) tuple)
Parameters
Type Name Description
ValueTuple<T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T, T, T, T, T, T>)

Converts tuple into enumerable collection of seven items.

Declaration
public static EnumerableTuple<T, Tuple<T, T, T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T, T, T> tuple)
Parameters
Type Name Description
Tuple<T, T, T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T, T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T, T, T, T, T>)

Converts tuple into enumerable collection of six items.

Declaration
public static EnumerableTuple<T, Tuple<T, T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T, T> tuple)
Parameters
Type Name Description
Tuple<T, T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T, T, T, T>)

Converts tuple into enumerable collection of five items.

Declaration
public static EnumerableTuple<T, Tuple<T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T> tuple)
Parameters
Type Name Description
Tuple<T, T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T, T, T>)

Converts tuple into enumerable collection of four items.

Declaration
public static EnumerableTuple<T, Tuple<T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T> tuple)
Parameters
Type Name Description
Tuple<T, T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T, T>)

Converts tuple into enumerable collection of three items.

Declaration
public static EnumerableTuple<T, Tuple<T, T, T>> AsEnumerable<T>(this Tuple<T, T, T> tuple)
Parameters
Type Name Description
Tuple<T, T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T, T>)

Converts tuple into enumerable collection of two items.

Declaration
public static EnumerableTuple<T, Tuple<T, T>> AsEnumerable<T>(this Tuple<T, T> tuple)
Parameters
Type Name Description
Tuple<T, T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T, T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(Tuple<T>)

Converts tuple into enumerable collection of single item.

Declaration
public static EnumerableTuple<T, Tuple<T>> AsEnumerable<T>(this Tuple<T> tuple)
Parameters
Type Name Description
Tuple<T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, Tuple<T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

| Improve this Doc View Source

AsEnumerable<T>(ValueTuple<T>)

Converts tuple into enumerable collection of single item.

Declaration
public static EnumerableTuple<T, ValueTuple<T>> AsEnumerable<T>(this ValueTuple<T> tuple)
Parameters
Type Name Description
ValueTuple<T> tuple

The tuple to be converted into enumerable collection.

Returns
Type Description
EnumerableTuple<T, ValueTuple<T>>

The tuple in the form of enumerable collection.

Type Parameters
Name Description
T

The type of items in the tuple.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX