HasChanged() public method

Check to see if something has changed in this instance and needs to be serialized
public HasChanged ( ) : bool
return bool
Example #1
0
 /// <summary>
 /// Check to see if something has changed in this instance and needs to be serialized
 /// </summary>
 /// <returns>Flag indicating if a member needs serialization</returns>
 public bool HasChanged()
 {
     return(counterSignatureCollection.Count > 0 ||
            signatureTimeStampCollection.Count > 0 ||
            (completeCertificateRefs != null && completeCertificateRefs.HasChanged()) ||
            (completeRevocationRefs != null && this.completeRevocationRefs.HasChanged()) ||
            sigAndRefsTimeStampCollection.Count > 0 ||
            refsOnlyTimeStampCollection.Count > 0 ||
            (certificateValues != null && certificateValues.HasChanged()) ||
            (revocationValues != null && this.revocationValues.HasChanged()) ||
            archiveTimeStampCollection.Count > 0);
 }