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); }
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); }