Applied to object reference fields to ensure that an assigned Object must implement one or more interfaces.
More...
|
IReadOnlyList< Type > | RequiredTypes [get] |
| Interfaces that must be implemented by the assigned Object. More...
|
|
Applied to object reference fields to ensure that an assigned Object must implement one or more interfaces.
◆ MustImplementAttribute()
Infohazard.Core.MustImplementAttribute.MustImplementAttribute |
( |
params Type[] |
types | ) |
|
Construct a new MustImplementAttribute.
- Parameters
-
types | Interfaces that must be implemented by the assigned Object. |
◆ RequiredTypes
IReadOnlyList<Type> Infohazard.Core.MustImplementAttribute.RequiredTypes |
|
get |
Interfaces that must be implemented by the assigned Object.
The documentation for this class was generated from the following file:
- Runtime/Attributes/MustImplementAttribute.cs