Class AbstractImpliedRelationshipsStrategy
Provides shared guard logic for implied-relationship strategies.
public abstract class AbstractImpliedRelationshipsStrategy : IImpliedRelationshipsStrategy
- Inheritance
-
AbstractImpliedRelationshipsStrategy
- Implements
- Derived
- Inherited Members
Remarks
Implied relationships are never created between the same element or between parent and child elements in the static structure hierarchy.
Methods
CreateImpliedRelationships(Relationship)
Called after a relationship has been created in the model, providing an opportunity to create any resulting implied relationships.
public abstract void CreateImpliedRelationships(Relationship relationship)
Parameters
relationshipRelationshipthe newly created Relationship
ImpliedRelationshipIsAllowed(Element, Element)
Determines whether an implied relationship can be created between the supplied elements.
protected bool ImpliedRelationshipIsAllowed(Element source, Element destination)