Compartir a través de


CompartmentRuleHelper Class

Definition

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.

Applies to