private void CopyContentFrom(CategoryCollection sourceObject) { CollectionContent = sourceObject.CollectionContent; _unmodified_CollectionContent = sourceObject._unmodified_CollectionContent; }
partial static void CreateCustomDemo(ref CategoryCollection customDemoObject);
public static CategoryCollection CreateDefault() { var result = new CategoryCollection(); return result; }
public static CategoryCollection CreateDemoDefault() { CategoryCollection customDemo = null; CategoryCollection.CreateCustomDemo(ref customDemo); if(customDemo != null) return customDemo; var result = new CategoryCollection(); result.CollectionContent.Add(Category.CreateDemoDefault()); //result.CollectionContent.Add(Category.CreateDemoDefault()); //result.CollectionContent.Add(Category.CreateDemoDefault()); return result; }
void IInformationObject.SetInstanceTreeValuesAsUnmodified() { _unmodified_ProcessID = ProcessID; _unmodified_ProcessName = ProcessName; _unmodified_CategoryCollection = CategoryCollection; if(CategoryCollection != null) ((IInformationObject) CategoryCollection).SetInstanceTreeValuesAsUnmodified(); }