Class RelationshipPath.Full
- Namespace
- The.Relationships
- Assembly
- Instagile.dll
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
headRelationshipInfotailRelationshipPath
Properties
Head
public RelationshipInfo Head { get; }
Property Value
Tail
public RelationshipPath Tail { get; }
Property Value
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
otherRelationshipPath
Returns
GetDestination()
public override IEntityInfo GetDestination()
Returns
GetSource()
public override IEntityInfo GetSource()
Returns
Parent()
This path without its last relationship: the empty path at the source, for a path of one relationship.
public override RelationshipPath Parent()
Returns
ToString()
The dotted relationship names of the path, e.g. "BestFriend.Owns".
public override string ToString()