[This is preliminary documentation and is subject to change.]
The UnitUsageAttribute type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowBaseAssignability |
Can be assigned to subclass (of return type) type
| |
EditorOrder |
Sort order in the units selection window
| |
ExpressionReturnType |
If set, indicates possible return type of an expression (can be concrete, abstract or interface)
| |
ExpressionReturnTypeInfo |
TypeInfo of the specified expression return type; can be null
| |
HideExpressionInActionsList |
Specifies weather an expression should not be shown in actions list. If false, an expression can be insert with automatic "Evaluate" action wrapper.
| |
IsDefaultExpression |
Determinates weather an expression can be created by an editor as a default value for the specified type; see also EditorOrder | |
StrictApplicability |
Only applied to parameters of this type (not fits for base type)
|