CompartmentRuleHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class with shared code for handling Compartment list item add, remove, and change rules.
public ref class CompartmentRuleHelper abstract sealed
public static class CompartmentRuleHelper
type CompartmentRuleHelper = class
Public Class CompartmentRuleHelper
- Inheritance
-
CompartmentRuleHelper
Methods
HandleCompartmentUpdate(ElementLink, Type) |
Update the Compartment represented by the ElementLink, so that it will shrink/grow as needed. |
HandleRolePlayerChangedRule(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. |