Esempio n. 1
0
 public ModelEnum()
 {
     name           = string.Empty;
     nameSpace      = string.Empty;
     underlyingType = ModelEnumUnderlyingType.Int32;
     attributes     = new MetaAttributeCollection();
     editor         = null;
     parentModel    = null;
     extended       = new Dictionary <Type, ModelEnumExtension>();
 }
        public MetaAttributeCollection Clone()
        {
            MetaAttributeCollection clonedMetaAttribute = new MetaAttributeCollection(itemCount);

            foreach (MetaAttribute item in this)
            {
                clonedMetaAttribute.Add(item);
            }
            return(clonedMetaAttribute);
        }