/// <summary> /// Method /// </summary> /// <returns></returns> public CatCompoundObject CreateObjectFromClass() { var newProperties = new CatProperty[Properties.Length]; for (int i = 0; i < Properties.Length; i++) { newProperties[i] = (CatProperty)Properties[i].Clone(); } var cco = new CatCompoundObject(this, newProperties); cco.SetParentClass(Parent); return(cco); }
public void InjectProperty(CatProperty property) { Properties = Properties.Append(property).ToArray(); }