예제 #1
0
 public virtual AttributeTypeAndValue[] ToAttributeTypeAndValueArray()
 {
     AttributeTypeAndValue[] result = new AttributeTypeAndValue[content.Count];
     for (int i = 0; i != result.Length; ++i)
     {
         result[i] = AttributeTypeAndValue.GetInstance(content[i]);
     }
     return(result);
 }
예제 #2
0
        public virtual AttributeTypeAndValue[] GetRegInfo()
        {
            if (regInfo == null)
            {
                return(null);
            }

            AttributeTypeAndValue[] results = new AttributeTypeAndValue[regInfo.Count];
            for (int i = 0; i != results.Length; ++i)
            {
                results[i] = AttributeTypeAndValue.GetInstance(regInfo[i]);
            }
            return(results);
        }