UtilityAssociation.withContainmentVisibility constructor
- UtilityAssociationType associationType, {
- required UtilityElement fromElement,
- required UtilityElement toElement,
- required bool isContainmentVisible,
Creates an association with the specified type between the specified utility elements with UtilityAssociation.isContainmentVisible value.
This constructor is typically used when creating UtilityAssociationType.containment association.
Parameters:
associationType— The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.fromElement— The first participant in the association.toElement— The second participant in the association.isContainmentVisible— True if the content in the containment association is visible, false otherwise.