public override string ToString() { return("InstumentName=" + InstrumentName + "|" + "ExpirationDateTime=" + ExpirationDateTime.ToShortDateString() + "|" + "LastMarketPrice=" + LastMarketPrice.ToString() + "|" + "LastUpdateDateTime=" + LastUpdateDateTime.ToString()); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Name?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Error?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Expires.GetHashCode()); hashCode = hashCode * -1521134295 + (ExpirationDateTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PendingSince?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PendingJobCreatedBy?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PendingStep?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Status?.GetHashCode() ?? 0); return(hashCode); }