/// <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(); }
/// <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(); }
/// <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)); }