Table of Contents

Class RelationshipPath.Full

Namespace
The.Relationships
Assembly
Instagile.dll

A path of at least one relationship: Head followed by Tail.

public sealed record RelationshipPath.Full : RelationshipPath, IEnumerable<RelationshipInfo>, IEnumerable, IEquatable<RelationshipPath>, IEquatable<RelationshipPath.Full>
Inheritance
RelationshipPath.Full
Implements
Inherited Members

Constructors

Full(RelationshipInfo, RelationshipPath)

public Full(RelationshipInfo head, RelationshipPath tail)

Parameters

head RelationshipInfo
tail RelationshipPath

Properties

Head

public RelationshipInfo Head { get; }

Property Value

RelationshipInfo

Tail

public RelationshipPath Tail { get; }

Property Value

RelationshipPath

Methods

Concat(RelationshipPath)

Joins other onto the end of this path; its source must be this path's destination.

public override RelationshipPath Concat(RelationshipPath other)

Parameters

other RelationshipPath

Returns

RelationshipPath

GetDestination()

public override IEntityInfo GetDestination()

Returns

IEntityInfo

GetSource()

public override IEntityInfo GetSource()

Returns

IEntityInfo

Parent()

This path without its last relationship: the empty path at the source, for a path of one relationship.

public override RelationshipPath Parent()

Returns

RelationshipPath

ToString()

The dotted relationship names of the path, e.g. "BestFriend.Owns".

public override string ToString()

Returns

string