Compartir a través de


CompartmentRuleHelper.HandleRolePlayerChangedRule Method

Definition

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.

public:
 static void HandleRolePlayerChangedRule(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Microsoft::VisualStudio::Modeling::ModelElement ^ oldValue, Microsoft::VisualStudio::Modeling::ModelElement ^ newValue);
public static void HandleRolePlayerChangedRule (Microsoft.VisualStudio.Modeling.ElementLink link, Microsoft.VisualStudio.Modeling.ModelElement oldValue, Microsoft.VisualStudio.Modeling.ModelElement newValue);
static member HandleRolePlayerChangedRule : Microsoft.VisualStudio.Modeling.ElementLink * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub HandleRolePlayerChangedRule (link As ElementLink, oldValue As ModelElement, newValue As ModelElement)

Parameters

link
ElementLink

ElementLink that is being changed.

oldValue
ModelElement

Old value before change.

newValue
ModelElement

New value after chagne.

Applies to