예제 #1
0
 /// <summary>
 /// Clone the current instance to a new parent
 /// </summary>
 /// <param name="newParent">Parent to clone to</param>
 /// <returns>Cloned Instance</returns>
 public CObject Clone(CObject newParent)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 /// <summary>
 /// Check if this instance is refered to in another CObject
 /// </summary>
 /// <param name="obj"></param>
 /// <returns>Boolean if the CObject is in it</returns>
 public bool IsIn(CObject check)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 /// <summary>
 /// Check if this instance is refered to in another CObject
 /// </summary>
 /// <param name="value"></param>
 /// <returns>Boolean if the CObject is in it</returns>
 public bool IsIn(CObject value)
 {
     return(value.Children.ContainsValue(this));
 }