GetInstance() public static method

public static GetInstance ( object obj ) : AttributeTypeAndValue
obj object
return AttributeTypeAndValue
Example #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);
 }
Example #2
0
 public virtual AttributeTypeAndValue[] ToAttributeTypeAndValueArray()
 {
     AttributeTypeAndValue[] array = new AttributeTypeAndValue[content.Count];
     for (int i = 0; i != array.Length; i++)
     {
         array[i] = AttributeTypeAndValue.GetInstance(content[i]);
     }
     return(array);
 }
Example #3
0
 public virtual AttributeTypeAndValue[] ToAttributeTypeAndValueArray()
 {
     AttributeTypeAndValue[] array = new AttributeTypeAndValue[this.content.Count];
     for (int num = 0; num != array.Length; num++)
     {
         array[num] = AttributeTypeAndValue.GetInstance(this.content[num]);
     }
     return(array);
 }
Example #4
0
 public virtual AttributeTypeAndValue[] GetRegInfo()
 {
     if (regInfo == null)
     {
         return(null);
     }
     AttributeTypeAndValue[] array = new AttributeTypeAndValue[regInfo.Count];
     for (int i = 0; i != array.Length; i++)
     {
         array[i] = AttributeTypeAndValue.GetInstance(regInfo[i]);
     }
     return(array);
 }
Example #5
0
 public virtual AttributeTypeAndValue[] GetRegInfo()
 {
     if (this.regInfo == null)
     {
         return(null);
     }
     AttributeTypeAndValue[] array = new AttributeTypeAndValue[this.regInfo.Count];
     for (int num = 0; num != array.Length; num++)
     {
         array[num] = AttributeTypeAndValue.GetInstance(this.regInfo[num]);
     }
     return(array);
 }
Example #6
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);
        }