Class ListConverter<T>
A CollectionConverter<T, TCollection> for a
Inheritance
ValueConverter<IPA.Config.Data.List<T>>
CollectionConverter<T, IPA.Config.Data.List<T>>
ListConverter<T>
Implements
Inherited Members
Namespace: IPA.Config.Stores.Converters
Assembly: IPA.Loader.dll
Syntax
public class ListConverter<T> : CollectionConverter<T, List<T>>, IValueConverter
Type Parameters
Name | Description |
---|---|
T | the element type of the |
Constructors
| Improve this Doc View SourceListConverter()
Creates an ListConverter<T> using the default converter for T
.
Declaration
public ListConverter()
See Also
| Improve this Doc View SourceListConverter(ValueConverter<T>)
Creates an ListConverter<T> using the specified underlying converter for values.
Declaration
public ListConverter(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)
Creates a new
Declaration
protected override List<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 |
---|---|
IPA.Config.Data.List<T> | the new |
Overrides
IPA.Config.Stores.Converters.CollectionConverter<T, IPA.Config.Data.List<T>>.Create(System.Int32, System.Object)
Implements
Extension Methods
See Also
CollectionConverter<T, TCollection>