Show / Hide Table of Contents

Struct EnumerableTuple<I, T>

Represents tuple as enumerable collection.

Implements
IReadOnlyList<I>
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public struct EnumerableTuple<I, T> : IReadOnlyList<I> where T : IStructuralEquatable, IStructuralComparable
Type Parameters
Name Description
I

The type of items in the tuple.

T

The tuple type.

Properties

| Improve this Doc View Source

Count

Gets number of items in the tuple.

Declaration
public int Count { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Item[Int32]

Gets tuple item by its index.

Declaration
public I this[int index] { get; }
Parameters
Type Name Description
Int32 index

The index of the item.

Property Value
Type Description
I

Item value.

Methods

| Improve this Doc View Source

GetEnumerator()

Gets enumerator over items in the tuple.

Declaration
public EnumerableTuple<I, T>.Enumerator GetEnumerator()
Returns
Type Description
EnumerableTuple.Enumerator<>

The enumerator over items.

Implements

IReadOnlyList<>

Extension Methods

ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX