Ejemplo n.º 1
0
 public CollectionAreaTag AsCollectionArea()
 {
     CollectionAreaTag tag = new CollectionAreaTag(modelType, Key);
     if (Attributes.ContainsKey(this.Key))
     {
         Attributes.Remove(this.Key);
     }
     tag.DataType = dataType;
     Attributes.Add(this.Key, tag);
     return tag;
 }
Ejemplo n.º 2
0
        public CollectionAreaTag AsCollectionArea()
        {
            CollectionAreaTag tag = new CollectionAreaTag(modelType, Key);

            if (Attributes.ContainsKey(this.Key))
            {
                Attributes.Remove(this.Key);
            }
            tag.DataType = dataType;
            Attributes.Add(this.Key, tag);
            return(tag);
        }