예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (SourceFileNamePath != null ? SourceFileNamePath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TargetFileNamePath != null ? TargetFileNamePath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Environment != null ? Environment.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ EnableLogMessageExport.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)LogMessageFormat;
         hashCode = (hashCode * 397) ^ (int)MinimumSeverity;
         hashCode = (hashCode * 397) ^ IncludeSessionSummary.GetHashCode();
         hashCode = (hashCode * 397) ^ IncludeExceptionDetails.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (SessionExportPath != null ? SessionExportPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Environment != null ? Environment.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ AutoExportSessions.GetHashCode();
         hashCode = (hashCode * 397) ^ UseUniqueFilenames.GetHashCode();
         hashCode = (hashCode * 397) ^ (MetricsToExport != null ? MetricsToExport.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ EnableLogMessageExport.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)LogMessageFormat;
         hashCode = (hashCode * 397) ^ (int)MinimumSeverity;
         hashCode = (hashCode * 397) ^ IncludeSessionSummary.GetHashCode();
         hashCode = (hashCode * 397) ^ IncludeExceptionDetails.GetHashCode();
         return(hashCode);
     }
 }