コード例 #1
0
        /// <summary>
        /// Creates a deep copy of the collection.
        /// </summary>
        public object Clone()
        {
            SupportedProfileCollection clone = new SupportedProfileCollection(this.Count);

            for (int ii = 0; ii < this.Count; ii++)
            {
                clone.Add((SupportedProfile)Utils.Clone(this[ii]));
            }

            return(clone);
        }
コード例 #2
0
 /// <summary>
 /// Sets private members to default values.
 /// </summary>
 private void Initialize()
 {
     m_productName = null;
     m_productUri  = null;
     m_vendorName  = null;
     m_vendorProductCertificate = null;
     m_softwareVersion          = null;
     m_buildNumber       = null;
     m_buildDate         = DateTime.MinValue;
     m_issuedBy          = null;
     m_issueDate         = DateTime.MinValue;
     m_supportedProfiles = new SupportedProfileCollection();
 }