示例#1
0
 public CircularReference SetParent(CircularReference value)
 {
     this.Parent = value;
     this.Parent.Children.Add(this);
     return(this);
 }
示例#2
0
 public CircularReference AddChildren(CircularReference value)
 {
     value.Parent = this;
     this.Children.Add(value);
     return(this);
 }