Пример #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>();
 }
Пример #2
0
        public MetaAttributeCollection Clone()
        {
            MetaAttributeCollection clonedMetaAttribute = new MetaAttributeCollection(itemCount);

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