public bool Equals(IndexQuery other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(PageSizeSet.Equals(other.PageSizeSet) && String.Equals(Query, other.Query) && Equals(TotalSize, other.TotalSize) && Equals(TransformerParameters, other.TransformerParameters) && Start == other.Start && Equals(IsDistinct, other.IsDistinct) && Equals(FieldsToFetch, other.FieldsToFetch) && Equals(SortedFields, other.SortedFields) && Equals(SortHints, other.SortHints) && Cutoff.Equals(other.Cutoff) && WaitForNonStaleResultsAsOfNow.Equals(other.WaitForNonStaleResultsAsOfNow) && WaitForNonStaleResults.Equals(other.WaitForNonStaleResults) && Equals(CutoffEtag, other.CutoffEtag) && String.Equals(DefaultField, other.DefaultField) && DefaultOperator == other.DefaultOperator && Equals(SkippedResults, other.SkippedResults) && DebugOptionGetIndexEntries.Equals(other.DebugOptionGetIndexEntries) && Equals(HighlightedFields, other.HighlightedFields) && Equals(HighlighterPreTags, other.HighlighterPreTags) && Equals(HighlighterPostTags, other.HighlighterPostTags) && Equals(HighlighterKeyName, other.HighlighterKeyName) && String.Equals(ResultsTransformer, other.ResultsTransformer) && ShowTimings == other.ShowTimings && DisableCaching.Equals(other.DisableCaching)); }
public bool Equals(IndexQuery other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(PageSizeSet.Equals(other.PageSizeSet) && String.Equals(Query, other.Query) && Equals(TotalSize, other.TotalSize) && Equals(QueryInputs, other.QueryInputs) && Start == other.Start && AggregationOperation == other.AggregationOperation && Equals(GroupBy, other.GroupBy) && Equals(FieldsToFetch, other.FieldsToFetch) && Equals(SortedFields, other.SortedFields) && Cutoff.Equals(other.Cutoff) && Equals(CutoffEtag, other.CutoffEtag) && String.Equals(DefaultField, other.DefaultField) && DefaultOperator == other.DefaultOperator && SkipTransformResults.Equals(other.SkipTransformResults) && Equals(SkippedResults, other.SkippedResults) && DebugOptionGetIndexEntries.Equals(other.DebugOptionGetIndexEntries) && Equals(HighlightedFields, other.HighlightedFields) && Equals(HighlighterPreTags, other.HighlighterPreTags) && Equals(HighlighterPostTags, other.HighlighterPostTags) && String.Equals(ResultsTransformer, other.ResultsTransformer) && DisableCaching.Equals(other.DisableCaching)); }