Table of Contents

Class ConverterCollection<TEncoder, TDecoder>

Namespace
ShapeShift
Assembly
ShapeShift.dll

An immutable collection of converters.

public class ConverterCollection<TEncoder, TDecoder> : IReadOnlyCollection<ShapeShiftConverter<TEncoder, TDecoder>>, IEnumerable<ShapeShiftConverter<TEncoder, TDecoder>>, IEnumerable where TEncoder : IEncoder, allows ref struct where TDecoder : IDecoder, allows ref struct

Type Parameters

TEncoder

The type of encoder to use.

TDecoder

The type of decoder to use.

Inheritance
ConverterCollection<TEncoder, TDecoder>
Implements
IEnumerable<ShapeShiftConverter<TEncoder, TDecoder>>
Inherited Members

Properties

Count

Gets the number of elements in the collection.

public int Count { get; }

Property Value

int

The number of elements in the collection.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public ImmutableArray<ShapeShiftConverter<TEncoder, TDecoder>>.Enumerator GetEnumerator()

Returns

ImmutableArray<ShapeShiftConverter<TEncoder, TDecoder>>.Enumerator

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