Пример #1
0
 public void SetEnumerated(IEnumerable <TV> rep)
 {
     Value.Clear();
     foreach (var k in rep)
     {
         Value.Add(k);
     }
 }
Пример #2
0
        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;
Пример #3
0
        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);
        }