Class IListConverter<T>
A CollectionConverter<T, TCollection> for an IList<T>, creating a List<T> when deserializing.
Implements
Inherited Members
Namespace: IPA.Config.Stores.Converters
Assembly: IPA.Loader.dll
Syntax
public class IListConverter<T> : CollectionConverter<T, IList<T>>, IValueConverter
Type Parameters
Name | Description |
---|---|
T | the element type of the IList<T> |
Constructors
| Improve this Doc View SourceIListConverter()
Creates an IListConverter<T> using the default converter for T
.
Declaration
public IListConverter()
See Also
| Improve this Doc View SourceIListConverter(ValueConverter<T>)
Creates an IListConverter<T> using the specified underlying converter for values.
Declaration
public IListConverter(ValueConverter<T> underlying)
Parameters
Type | Name | Description |
---|---|---|
ValueConverter<T> | underlying | the underlying ValueConverter<T> to use for the values |
Methods
| Improve this Doc View SourceCreate(Int32, Object)
Declaration
protected override IList<T> Create(int size, object parent)
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | the size to initialize it to |
Object | parent | the object that will own the new object |
Returns
Type | Description |
---|---|
IList<T> | the new IList<T> |
Overrides
IPA.Config.Stores.Converters.CollectionConverter<T, System.Collections.Generic.IList<T>>.Create(System.Int32, System.Object)
Implements
Extension Methods
See Also
CollectionConverter<T, TCollection>