You can also add logic in the unit validators that pertains to specific capabilities, requirements, or attributes.
您还可以在拥有特定功能,需求或者属性的单元确认器中添加逻辑。
Note: it is possible to add attributes to the unit type, but by convention, all custom attributes are placed on capabilities rather than on units.
注意:向单元类型添加属性是可能的,但是按照惯例,所有的通用属性都位于功能而不是单元之中。
Typically, a capability is also defined for each of the unit types, such as to contain attributes based on the configuration content of the units in that domain.
通常情况下,一个性能还可以确定每一个单元类型,比如根据这个域中单元的配置内容来控制其属性。
应用推荐