Exemple #1
0
 public ForexBroker(BrokerName name,
                    string city,
                    string country,
                    string state,
                    string streetAddress1,
                    string streetAddress2,
                    string postalCode,
                    string fullName,
                    string email,
                    string techEmail,
                    string normalPhone,
                    string accountingPhone,
                    string emergencyPhone,
                    string contactNameSales,
                    string contactNameAccounts,
                    string contactNameTech,
                    string notes = "")
 {
     this.name                = name;
     this.city                = city;
     this.country             = country;
     this.state               = state;
     this.streetAddress1      = streetAddress1;
     this.streetAddress2      = streetAddress2;
     this.postalCode          = postalCode;
     this.fullName            = fullName;
     this.email               = email;
     this.techEmail           = techEmail;
     this.normalPhone         = normalPhone;
     this.accountingPhone     = accountingPhone;
     this.emergencyPhone      = emergencyPhone;
     this.contactNameSales    = contactNameSales;
     this.contactNameAccounts = contactNameAccounts;
     this.contactNameTech     = contactNameTech;
     this.notes               = notes;
 }
Exemple #2
0
 public override int GetHashCode()
 {
     return(BrokerName.GetHashCode() ^ Market.GetHashCode() ^ Timeframe.GetHashCode());
 }