Class TargetConstraintAttribute
Add to fields of your class extending SerializableCallbackBase<T,...> to limit which types can be assigned to it.
Inherited Members
Namespace: SerializableCallback
Syntax
public class TargetConstraintAttribute : PropertyAttribute, _Attribute
Constructors
TargetConstraintAttribute(Type)
Add to fields of your class extending SerializableCallbackBase<T,...> to limit which types can be assigned to it.
Declaration
public TargetConstraintAttribute(Type targetType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType |
Fields
targetType
Declaration
public Type targetType
Field Value
| Type | Description |
|---|---|
| Type |