public object Clone()
        {
            GroupSchemaItems gsis = new GroupSchemaItems();

            foreach (GroupSchemaItem gsi in this.InnerList)
            {
                gsis.Add(gsi.Clone() as GroupSchemaItem);
            }
            return(gsis);
        }
Exemple #2
0
 public void Dispose()
 {
     foreach (GroupSchemaItem item in this._schemaitems)
     {
         item.Dispose();
     }
     this._schemaitems.Clear();
     _schemaitems = null;
     _datedimensions.Clear();
     _datedimensions = null;
 }
Exemple #3
0
 public GroupSchema()
 {
     _id          = Guid.NewGuid().ToString();
     _schemaitems = new GroupSchemaItems();
     foreach (string localeId in this._localeIds)
     {
         this._names[localeId.ToUpper()] = "";
     }
     //foreach (string localeId in this._localeIds)
     //    this._names[localeId.ToUpper()] = this.GetDefaultName(localeId);
     _datedimensions = new Dictionary <string, int>();
 }