public override bool Equals(object obj) { var entity = obj as DBTStkGeneralEntity; if (entity == null) { return(false); } return(Code.Equals(entity.Code) && UpdateTime.Equals(entity.UpdateTime)); }
/// <inheritdoc/> public bool Equals(RestApiModel other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (Id == other.Id && Type == other.Type && Parent == other.Parent && Author == other.Author && Title == other.Title && Text == other.Text && Url == other.Url && HtmlContent == other.HtmlContent && Upvotes == other.Upvotes && Downvotes == other.Downvotes && MathF.Abs(VotesRatio - other.VotesRatio) < 0.001f && Views == other.Views && Clicks == other.Clicks && MathF.Abs(ClicksRatio - other.ClicksRatio) < 0.001f && NumberOfComments == other.NumberOfComments && CreationTime.Equals(other.CreationTime) && UpdateTime.Equals(other.UpdateTime) && ExpirationTime.Equals(other.ExpirationTime) && Flag1 == other.Flag1 && Flag2 == other.Flag2 && Flag3 == other.Flag3 && Flag4 == other.Flag4 && Flag5 == other.Flag5 && Optional1 == other.Optional1 && Optional2 == other.Optional2 && Optional3 == other.Optional3 && (Info == null && other.Info == null || Info?.Equals(other.Info) == true)); }
public bool Equals(JsonResponseModel?other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (Id == other.Id && Type == other.Type && Count == other.Count && CreationTime.Equals(other.CreationTime) && UpdateTime.Equals(other.UpdateTime) && ExpirationTime.Equals(other.ExpirationTime) && PreviousPageId == other.PreviousPageId && FollowingPageId == other.FollowingPageId && ModelContainers?.Count == other.ModelContainers?.Count && ModelContainers.Zip(other.ModelContainers).All(p => p.First.Equals(p.Second))); }
private bool Equals(ExchangeRateItem other) { return(UpdateTime.Equals(other.UpdateTime) && CurrencyFrom == other.CurrencyFrom && CurrencyTo == other.CurrencyTo && New == other.New && YestdayClose == other.YestdayClose && Open == other.Open && High == other.High && Low == other.Low && Desc == other.Desc); }
protected bool Equals(AniDBStateUpdate other) => Value == other.Value && Message == other.Message && UpdateType == other.UpdateType && UpdateTime.Equals(other.UpdateTime) && PauseTimeSecs == other.PauseTimeSecs;
public override bool Equals(object obj) { Price priceObj = (Price)obj; return(StoreId.Equals(priceObj.StoreId) && ItemCode.Equals(priceObj.ItemCode) && UpdateTime.Equals(priceObj.UpdateTime)); }