Table of Contents

Class AffixedEnumerable<T>

Namespace
Garyon.Objects.Enumerators
Assembly
Garyon.dll

Represents an enumerable that supports being prefixed and suffixed with other enumerables or single values.

public class AffixedEnumerable<T> : IEnumerable<T>, IEnumerable

Type Parameters

T

The type of values enumerated.

Inheritance
AffixedEnumerable<T>
Implements
Inherited Members
Extension Methods

Constructors

AffixedEnumerable(IEnumerable<T>)

public AffixedEnumerable(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

An enumerator that can be used to iterate through the collection.

WithExtraPrefix(SingleOrEnumerable<T>)

public AffixedEnumerable<T> WithExtraPrefix(SingleOrEnumerable<T> value)

Parameters

value SingleOrEnumerable<T>

Returns

AffixedEnumerable<T>

WithExtraPrefix(IEnumerable<T>)

public AffixedEnumerable<T> WithExtraPrefix(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Returns

AffixedEnumerable<T>

WithExtraPrefix(T)

public AffixedEnumerable<T> WithExtraPrefix(T value)

Parameters

value T

Returns

AffixedEnumerable<T>

WithExtraSuffix(SingleOrEnumerable<T>)

public AffixedEnumerable<T> WithExtraSuffix(SingleOrEnumerable<T> value)

Parameters

value SingleOrEnumerable<T>

Returns

AffixedEnumerable<T>

WithExtraSuffix(IEnumerable<T>)

public AffixedEnumerable<T> WithExtraSuffix(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Returns

AffixedEnumerable<T>

WithExtraSuffix(T)

public AffixedEnumerable<T> WithExtraSuffix(T value)

Parameters

value T

Returns

AffixedEnumerable<T>

WithPrefix(SingleOrEnumerable<T>)

public AffixedEnumerable<T> WithPrefix(SingleOrEnumerable<T> value)

Parameters

value SingleOrEnumerable<T>

Returns

AffixedEnumerable<T>

WithPrefix(IEnumerable<T>)

public AffixedEnumerable<T> WithPrefix(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Returns

AffixedEnumerable<T>

WithPrefix(T)

public AffixedEnumerable<T> WithPrefix(T value)

Parameters

value T

Returns

AffixedEnumerable<T>

WithSuffix(SingleOrEnumerable<T>)

public AffixedEnumerable<T> WithSuffix(SingleOrEnumerable<T> value)

Parameters

value SingleOrEnumerable<T>

Returns

AffixedEnumerable<T>

WithSuffix(IEnumerable<T>)

public AffixedEnumerable<T> WithSuffix(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>

Returns

AffixedEnumerable<T>

WithSuffix(T)

public AffixedEnumerable<T> WithSuffix(T value)

Parameters

value T

Returns

AffixedEnumerable<T>

Wrap()

public AffixedEnumerable<T> Wrap()

Returns

AffixedEnumerable<T>