Table of Contents

Class CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy

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

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

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

Methods

CreateImpliedRelationships(Relationship)

Creates implied relationships while avoiding duplicates between the same source and destination.

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 stops only when any outgoing relationship already exists between the candidate elements.