[]
Creates a coder for serializing collections of items to/from XML.
public static Coders.ObjectCoder<ICollection<TItem>> Collection<TItem>(Coders.ObjectCoder<TItem> itemSerializer)
Type | Name | Description |
---|---|---|
Coders.ObjectCoder<TItem> | itemSerializer | A Coders.ObjectCoder<T> object for serializing individual items. |
Type | Description |
---|---|
Coders.ObjectCoder<ICollection<TItem>> | A Coders.ObjectCoder<T> object which writes and reads
collections of |
Name | Description |
---|---|
TItem | The type of the items in the collection. |
Creates a coder for serializing collections of items to/from XML.
public static Coders.ObjectCoder<ICollection<TItem>> Collection<TItem>(IXmlItemSerializer itemSerializer)
Type | Name | Description |
---|---|---|
IXmlItemSerializer | itemSerializer | An IXmlItemSerializer object for serializing individual items. |
Type | Description |
---|---|
Coders.ObjectCoder<ICollection<TItem>> | The Coders.ObjectCoder<T> instance which writes and reads
collections of |
Name | Description |
---|---|
TItem | The type of the items in the collection. |