public void SetEnumerated(IEnumerable <TV> rep) { Value.Clear(); foreach (var k in rep) { Value.Add(k); } }
public void Add(Team Team) { bool Added = false; foreach (var TC in TeamClumps) { if (TC.CompetingModel == Team.ModelName) { TC.Add(Team); TC.Teams[^ 1].CM = TC;
public TC Clone <TC>() where TC : SchemaDataDictionaryBase <TE>, new() { TC copy = new TC(); foreach (KeyValuePair <TE, ASchemaDataFieldDef <TE> > field in this) { copy.Add(field.Key, field.Value); } return(copy); }