Пример #1
0
        public bool Equals(TPath other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other.segment != this.segment)
            {
                return(false);
            }

            return(this.prefixPath == other.prefixPath);
        }
Пример #2
0
 private TPath(TPath parent, PathSegment segment)
 {
     this.parent  = parent;
     this.segment = segment;
 }
Пример #3
0
 private TPath(TPath prefixPath, ITPathSegment segment)
 {
     this.prefixPath = prefixPath;
     this.segment    = segment;
 }
Пример #4
0
 public TPath()
 {
     this.prefixPath = null;
     this.segment    = null;
 }