Exemplo n.º 1
0
        public Procent getBusinessSecurity(IInvestable business)
        {
            var res = business.Country.OwnershipSecurity;

            if (business.Country != this.Country)
            {
                res.Multiply(Options.InvestingForeignCountrySecurity);
            }
            if (business.Province != this.Province)
            {
                res.Multiply(Options.InvestingAnotherProvinceSecurity);
            }
            if (!(business is Owners)) // building, upgrading and opening requires hiring people which can be impossible
            {
                res.Multiply(Options.InvestorEmploymentRisk);
            }

            return(res);
        }
 public Bank(ITransactionable transferable, ISavable savable, IInvestable investable)
 {
     _Transact   = transferable;
     _savable    = savable;
     _investable = investable;
 }