Class CollectionConverter<T, TCollection, TConverter>
A CollectionConverter<T, TCollection> which default constructs a converter for use as the value converter.
Inheritance
ValueConverter<TCollection>
CollectionConverter<T, TCollection>
CollectionConverter<T, TCollection, TConverter>
Implements
Inherited Members
Namespace: IPA.Config.Stores.Converters
Assembly: IPA.Loader.dll
Syntax
public sealed class CollectionConverter<T, TCollection, TConverter> : CollectionConverter<T, TCollection>, IValueConverter where TCollection : ICollection<T> where TConverter : ValueConverter<T>, new()
Type Parameters
Name | Description |
---|---|
T | the value type of the collection |
TCollection | the type of the colleciton |
TConverter | the type of the converter to use for |
Constructors
| Improve this Doc View SourceCollectionConverter()
Creates a CollectionConverter<T, TCollection> using a default constructed TConverter
element type. Equivalent to calling CollectionConverter(ValueConverter<T>)
with a default-constructed TConverter
.
Declaration
public CollectionConverter()
See Also
Implements
Extension Methods
See Also
CollectionConverter<T, TCollection>