Example #1
0
        public bool Equals(DestinyHistoricalStatsPerCharacter input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     CharacterId == input.CharacterId ||
                     (CharacterId.Equals(input.CharacterId))
                     ) &&
                 (
                     Deleted == input.Deleted ||
                     (Deleted != null && Deleted.Equals(input.Deleted))
                 ) &&
                 (
                     Results == input.Results ||
                     (Results != null && Results.SequenceEqual(input.Results))
                 ) &&
                 (
                     Merged == input.Merged ||
                     (Merged != null && Merged.Equals(input.Merged))
                 ));
        }
 private bool Equals(StorageEventTableEntity other)
 {
     return(string.Equals(PartitionKey, other.PartitionKey) &&
            string.Equals(RowKey, other.RowKey) &&
            Created.Equals(other.Created) &&
            Modified.Equals(other.Modified) &&
            Deleted.Equals(other.Deleted) &&
            string.Equals(Data, other.Data));
 }