/// <summary> /// Compares two <strong>CertificateTemplate</strong> objects for equality. /// </summary> /// <param name="other">An <strong>CertificateTemplate</strong> object to compare to the current object.</param> /// <returns> /// <strong>True</strong> if the current <strong>CertificateTemplate</strong> object is equal to the object specified by the other parameter; /// otherwise, <strong>False</strong>. /// </returns> /// <remarks> /// Two objects are considered equal if they are <strong>CertificateTemplate</strong> objects and they have the same /// name and OID values. /// </remarks> protected Boolean Equals(CertificateTemplate other) { return(String.Equals(Name, other.Name) && OID.Equals2(other.OID)); }