示例#1
0
文件: TPath.cs 项目: zanedp/Nett
        public bool Equals(TPath other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other.segment != this.segment)
            {
                return(false);
            }

            return(this.prefixPath == other.prefixPath);
        }
示例#2
0
文件: PushTPath.cs 项目: uheee/Nett
 private TPath(TPath parent, PathSegment segment)
 {
     this.parent  = parent;
     this.segment = segment;
 }
示例#3
0
文件: TPath.cs 项目: zanedp/Nett
 private TPath(TPath prefixPath, ITPathSegment segment)
 {
     this.prefixPath = prefixPath;
     this.segment    = segment;
 }
示例#4
0
文件: TPath.cs 项目: zanedp/Nett
 public TPath()
 {
     this.prefixPath = null;
     this.segment    = null;
 }