[]
        
(Showing Draft Content)

C1.JsonNet.CollectionItemTypeAttribute.-ctor

CollectionItemTypeAttribute Constructor

CollectionItemTypeAttribute(Type, Type, params object[])

Initializes a new instance of the CollectionItemTypeAttribute class.

Declaration
public CollectionItemTypeAttribute(Type collectionItemType, Type itemConverterType = null, params object[] itemConverterParameters)
Parameters
Type Name Description
Type collectionItemType

The item type

Type itemConverterType

The converter type of item

object[] itemConverterParameters

The parameter list to use when constructing the item converter

CollectionItemTypeAttribute(Type, params object[])

Creates an instance of CollectionItemTypeAttribute.

Declaration
public CollectionItemTypeAttribute(Type itemConverterType, params object[] itemConverterParameters)
Parameters
Type Name Description
Type itemConverterType

The converter type.

object[] itemConverterParameters

The parameters used to create the converter.

CollectionItemTypeAttribute(Type)

Creates an instance of CollectionItemTypeAttribute.

Declaration
public CollectionItemTypeAttribute(Type itemConverterType)
Parameters
Type Name Description
Type itemConverterType

The converter type.