/// <summary> /// Create a clone of this Object /// </summary> /// <returns>The clone</returns> public override object Clone() { ImportedGroups list = new ImportedGroups(); foreach (ImportedGroup item in this) { list.Add(item); } return(list); }
/// <summary> /// Use the Members, that wer initialized with LoadLists() to create /// the Imported Group Data /// </summary> /// <param name="grps">The List that should receive the Group Data</param> void ProcessLists(ImportedGroups grps) { foreach (string k in groups.Keys) { faces = (ArrayList)groups[k]; //ignore empty groups if (faces.Count == 0) { continue; } ImportedGroup g = PrepareGroup(); g.Group.Name = k; BuildGroup(g); grps.Add(g); } }