CompartmentRuleHelper Class

 

Static class with shared code for handling Compartment list item add, remove, and change rules.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::CompartmentRuleHelper

public ref class CompartmentRuleHelper abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticHandleCompartmentUpdate(ElementLink^, Type^)

Update the Compartment represented by the ElementLink, so that it will shrink/grow as needed.

System_CAPS_pubmethodSystem_CAPS_staticHandleRolePlayerChangedRule(ElementLink^, ModelElement^, ModelElement^)

If the role players change, we only care about the "parent" of the relationship. We update both the old and new parents because an item moved from one to the other.

Static class that has shared code to handle Compartment list item add, remove, and change rules.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: