コード例 #1
0
        public bool Equals(DestinyItemValueBlockDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ItemValue == input.ItemValue ||
                     (ItemValue != null && ItemValue.SequenceEqual(input.ItemValue))
                     ) &&
                 (
                     ValueDescription == input.ValueDescription ||
                     (ValueDescription != null && ValueDescription.Equals(input.ValueDescription))
                 ));
        }