示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (DateTime != null ? DateTime.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (InputFormat != null ? InputFormat.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (OutputFormat != null ? OutputFormat.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TimeModifierType != null ? TimeModifierType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TimeModifierAmountDisplay != null ? TimeModifierAmountDisplay.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ TimeModifierAmount;
         hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0);
         return(hashCode);
     }
 }