public bool Equals(TPath other) { if (other == null) { return(false); } if (other.segment != this.segment) { return(false); } return(this.prefixPath == other.prefixPath); }
private TPath(TPath parent, PathSegment segment) { this.parent = parent; this.segment = segment; }
private TPath(TPath prefixPath, ITPathSegment segment) { this.prefixPath = prefixPath; this.segment = segment; }
public TPath() { this.prefixPath = null; this.segment = null; }