InterfaceAttribute
(
type
, types
)
|
Creates a new Interface attribute.
Signature
InterfaceAttribute(Type type, params Type[] types) Parameters type: TypeÂ
The type of interface which is allowed.
types: params Type[]Â
Extra types of interface which is allowed.
|
InterfaceAttribute
(
typeFromFieldName
)
|
Signature
InterfaceAttribute(string typeFromFieldName) Parameters typeFromFieldName: string |
TypeFromFieldName
: string |
Signature
string TypeFromFieldName |
Types
: Type[] |
Signature
Type [] Types |