[]
        
(Showing Draft Content)

C1.JsonNet.CollectionItemTypeAttribute

CollectionItemTypeAttribute Class

Defines the attribute which specifies the item type of a collection.

Implements
Namespace: C1.JsonNet
Assembly: C1.Web.Mvc.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field)]
public sealed class CollectionItemTypeAttribute : C1CollectionItemConverterAttribute, _Attribute

Constructors

Name Description
CollectionItemTypeAttribute(Type)

Creates an instance of CollectionItemTypeAttribute.

CollectionItemTypeAttribute(Type, params object[])

Creates an instance of CollectionItemTypeAttribute.

CollectionItemTypeAttribute(Type, Type, params object[])

Initializes a new instance of the CollectionItemTypeAttribute class.

Properties

Name Description
CollectionItemType

Gets the type of the item.

ItemConverterParameters

Gets parameter list to use when constructing the JsonConverter described by ItemConverterType. If null, the default constructor is used.

ItemConverterType

Gets the converter type of item.