public bool Equals(TransferBundleSettings other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }
            if (!(SelectionColor.Equals(other.SelectionColor) &&
                  PendedColor.Equals(other.PendedColor) &&
                  ProcessedColor.Equals(other.ProcessedColor) &&
                  InterruptedColor.Equals(other.InterruptedColor) &&
                  CompletedColor.Equals(other.CompletedColor)))
            {
                return(false);
            }

            if (!ColumnOrders.SequenceEqual(other.ColumnOrders))
            {
                return(false);
            }

            if (!ColumnWidths.SequenceEqual(other.ColumnWidths))
            {
                return(false);
            }

            return(true);
        }
        public bool Equals(ContractSettings other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            if (!(PublicForeColor.Equals(other.PublicForeColor) && SelectionColor.Equals(other.SelectionColor) &&
                  SignedColor.Equals(other.SignedColor) && TextVisibility == other.TextVisibility &&
                  AcceptedCountVisibility == other.AcceptedCountVisibility &&
                  AccessCountVisibility == other.AccessCountVisibility))
            {
                return(false);
            }

            if (!ColumnOrders.SequenceEqual(other.ColumnOrders))
            {
                return(false);
            }

            if (!ColumnWidths.SequenceEqual(other.ColumnWidths))
            {
                return(false);
            }

            return(true);
        }
Пример #3
0
        public bool Equals(PreparedTransferSettings other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }
            if (!(FailedColor.Equals(other.FailedColor) &&
                  SelectionColor.Equals(other.SelectionColor) &&
                  PendedColor.Equals(other.PendedColor) &&
                  ProcessedColor.Equals(other.ProcessedColor) &&
                  InterruptedColor.Equals(other.InterruptedColor) &&
                  CompletedColor.Equals(other.CompletedColor) &&
                  PrimaryIdVisibility == other.PrimaryIdVisibility &&
                  SecondaryIdVisibility == other.SecondaryIdVisibility &&
                  PaymentIdVisibility == other.PaymentIdVisibility &&
                  SourcePurseVisibility == other.SourcePurseVisibility &&
                  TargetPurseVisibility == other.TargetPurseVisibility &&
                  DescriptionVisibility == other.DescriptionVisibility &&
                  ForceVisibility == other.ForceVisibility &&
                  CreationTimeVisibility == other.CreationTimeVisibility &&
                  TransferCreationTimeVisibility == other.TransferCreationTimeVisibility))
            {
                return(false);
            }

            if (!ColumnOrders.SequenceEqual(other.ColumnOrders))
            {
                return(false);
            }

            if (!ColumnWidths.SequenceEqual(other.ColumnWidths))
            {
                return(false);
            }

            return(true);
        }
        public bool Equals(TransferSettings other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            if (!(SecondaryIdVisibility == other.SecondaryIdVisibility &&
                  SourcePurseVisibility == other.SourcePurseVisibility &&
                  TargetPurseVisibility == other.TargetPurseVisibility &&
                  CommissionVisibility == other.CommissionVisibility &&
                  DescriptionVisibility == other.DescriptionVisibility && TypeVisibility == other.TypeVisibility &&
                  InvoiceIdVisibility == other.InvoiceIdVisibility && OrderIdVisibility == other.OrderIdVisibility &&
                  PaymentIdVisibility == other.PaymentIdVisibility &&
                  ProtectionPeriodVisibility == other.ProtectionPeriodVisibility &&
                  PartnerIdentifierVisibility == other.PartnerIdentifierVisibility &&
                  BalanceVisibility == other.BalanceVisibility && LockedVisibility == other.LockedVisibility &&
                  CreationTimeVisibility == other.CreationTimeVisibility))
            {
                return(false);
            }

            if (!ColumnOrders.SequenceEqual(other.ColumnOrders))
            {
                return(false);
            }

            if (!ColumnWidths.SequenceEqual(other.ColumnWidths))
            {
                return(false);
            }

            return(true);
        }
        public bool Equals(OutgoingInvoiceSettings other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            if (!(SecondaryIdVisibility == other.SecondaryIdVisibility &&
                  OrderIdVisibility == other.OrderIdVisibility &&
                  SourcePurseVisibility == other.SourcePurseVisibility &&
                  TargetPurseVisibility == other.TargetPurseVisibility &&
                  DescriptionVisibility == other.DescriptionVisibility &&
                  AddressVisibility == other.AddressVisibility &&
                  ProtectionPeriodVisibility == other.ProtectionPeriodVisibility &&
                  ExpirationPeriodVisibility == other.ExpirationPeriodVisibility &&
                  TransferIdVisibility == other.TransferIdVisibility &&
                  CreationTimeVisibility == other.CreationTimeVisibility))
            {
                return(false);
            }

            if (!ColumnOrders.SequenceEqual(other.ColumnOrders))
            {
                return(false);
            }

            if (!ColumnWidths.SequenceEqual(other.ColumnWidths))
            {
                return(false);
            }

            return(true);
        }