ClassGenericArgumentListAttribute

Attribute in Arbor / Inherits from: ClassTypeConstraintAttribute

Description

An attribute that restricts a field to only IList<T> whose elements are of the type specified in the generic argument.

Remarks

Available classes :

Constructors

Description
ClassGenericArgumentListAttribute Create a ClassExtendsAttribute with a specified type.

Methods

Method Name Description
GetBaseType It returns the base type of constraints.
IsConstraintSatisfied Whether the constraint is satisfied is judged.

Inherited Members

Methods

Method Name Description
GetTypeName Returns the type name of the constraint.