Table of Contents

Class CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy

Namespace
C4.Net
Assembly
C4.Net.Core.dll

This strategy creates implied relationships between all valid combinations of the parent elements, unless the same relationship already exists between them.

public class CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy : AbstractImpliedRelationshipsStrategy, IImpliedRelationshipsStrategy
Inheritance
CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy
Implements
Inherited Members

Methods

CreateImpliedRelationships(Relationship)

Creates implied relationships while avoiding duplicates with the same destination and description.

public override void CreateImpliedRelationships(Relationship relationship)

Parameters

relationship Relationship

The explicit relationship that triggered implied relationship generation.

Remarks

This strategy walks up both parent hierarchies and only suppresses an implied relationship when an equivalent description already exists between the candidate elements.