Class RelationshipPath.Empty
- Namespace
- The.Relationships
- Assembly
- Instagile.dll
The path of no relationships at Type.
public sealed record RelationshipPath.Empty : RelationshipPath, IEnumerable<RelationshipInfo>, IEnumerable, IEquatable<RelationshipPath>, IEquatable<RelationshipPath.Empty>
- Inheritance
-
RelationshipPath.Empty
- Implements
- Inherited Members
Constructors
Empty(IEntityInfo)
public Empty(IEntityInfo type)
Parameters
typeIEntityInfo
Properties
Type
public IEntityInfo Type { 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()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.