GetInstance() public static method

public static GetInstance ( object obj ) : SigPolicyQualifierInfo
obj object
return SigPolicyQualifierInfo
示例#1
0
 public SigPolicyQualifierInfo[] GetSigPolicyQualifiers()
 {
     if (this.sigPolicyQualifiers == null)
     {
         return(null);
     }
     SigPolicyQualifierInfo[] array = new SigPolicyQualifierInfo[this.sigPolicyQualifiers.Count];
     for (int i = 0; i < this.sigPolicyQualifiers.Count; i++)
     {
         array[i] = SigPolicyQualifierInfo.GetInstance(this.sigPolicyQualifiers[i]);
     }
     return(array);
 }
示例#2
0
        public SigPolicyQualifierInfo[] GetSigPolicyQualifiers()
        {
            if (sigPolicyQualifiers == null)
            {
                return(null);
            }

            SigPolicyQualifierInfo[] infos = new SigPolicyQualifierInfo[sigPolicyQualifiers.Count];
            for (int i = 0; i < sigPolicyQualifiers.Count; ++i)
            {
                infos[i] = SigPolicyQualifierInfo.GetInstance(sigPolicyQualifiers[i]);
            }
            return(infos);
        }