Class ParallelEnumerator<T1, T2, T3>
- Namespace
- Garyon.Objects.Enumerators
- Assembly
- Garyon.dll
Provides a mechanism for parallelly enumerating 3 IEnumerable<T> objects.
public sealed class ParallelEnumerator<T1, T2, T3> : BaseParallelEnumerator<T1, T2, T3>, IEnumerator<(T1?, T2?, T3?)>, IEnumerator, IDisposable
Type Parameters
T1T2T3
- Inheritance
-
BaseParallelEnumerator<T1, T2>BaseParallelEnumerator<T1, T2, T3>ParallelEnumerator<T1, T2, T3>
- Implements
-
IEnumerator<(T1, T2, T3)>
- Inherited Members
- Extension Methods
Constructors
ParallelEnumerator(IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>)
Initializes a new instance of the ParallelEnumerator<T1, T2, T3> class from 3 IEnumerable<T> objects.
public ParallelEnumerator(IEnumerable<T1> enumerable1, IEnumerable<T2> enumerable2, IEnumerable<T3> enumerable3)
Parameters
enumerable1IEnumerable<T1>The first enumerable.
enumerable2IEnumerable<T2>The second enumerable.
enumerable3IEnumerable<T3>The third enumerable.
Properties
Current
Gets a tuple containing the current values of all enumerators. If any enumerator is beyond the end of the collection, the respective value is equal to default.
public (T1?, T2?, T3?) Current { get; }
Property Value
- (T1, T2, T3)