ObjectTypeAttribute
(
targetType
, additionalTargetTypes
)
|
Constructor that takes in the target type that any objects must be cast to
Signature
Meta.WitAi.Attributes.ObjectTypeAttribute.ObjectTypeAttribute(Type targetType, params Type[] additionalTargetTypes) Parameters targetType: TypeadditionalTargetTypes: params Type [] |
ObjectTypeAttribute
(
requireAll
, targetType
, additionalTargetTypes
)
|
Constructor that takes in the target type that any objects must be cast to
Signature
Meta.WitAi.Attributes.ObjectTypeAttribute.ObjectTypeAttribute(bool requireAll, Type targetType, params Type[] additionalTargetTypes) Parameters requireAll: booltargetType: TypeadditionalTargetTypes: params Type [] |
RequiresAllTypes
: bool
[Get] |
If true, all types must be included. If false, any of the specified types can be included
Signature
bool Meta.WitAi.Attributes.ObjectTypeAttribute.RequiresAllTypes |
TargetTypes
: Type []
[Get] |
The types this property will be restricted to
Signature
Type [] Meta.WitAi.Attributes.ObjectTypeAttribute.TargetTypes |