public RootModel( ChangesetModel latestBaseChangeset, ChangesetModel latestPortfolioTargetChangeset, TargetingTypeGroupModel targetingTypeGroup, BasketModel basket, IEnumerable <PortfolioModel> portfolios, IEnumerable <SecurityModel> securities, NullableExpressionModel baseTotalExpression, ExpressionModel benchmarkTotalExpression, NullableExpressionModel baseActiveTotalExpression, Boolean isModified, DateTime benchmarkDate ) : this() { this.LatestBaseChangeset = latestBaseChangeset; this.LatestPortfolioTargetChangeset = latestPortfolioTargetChangeset; this.TargetingTypeGroup = targetingTypeGroup; this.Basket = basket; this.Portfolios.AddRange(portfolios); this.Securities.AddRange(securities); this.BaseTotal = baseTotalExpression; this.BenchmarkTotal = benchmarkTotalExpression; this.BaseActiveTotal = baseActiveTotalExpression; this.IsModified = isModified; this.BenchmarkDate = benchmarkDate; }
public RootModel( TargetingTypeModel targetingType, BroadGlobalActivePortfolioModel broadGlobalActiveProtfolio, ChangesetModel latestTtbbvChangeset, ChangesetModel latestTtbptChangeset, ChangesetModel latestPstoChangeset, ChangesetModel latestPstChangeset, GlobeModel globe, CashModel cash, DateTime benchmarkDate, Boolean isModified, NullableExpressionModel portfolioScaledGranTotal, NullableExpressionModel trueExposureGrandTotal, NullableExpressionModel trueActiveGrandTotal, Boolean isUserPermittedToSave ) { this.TargetingType = targetingType; this.BroadGlobalActiveProtfolio = broadGlobalActiveProtfolio; this.LatestTtbbvChangeset = latestTtbbvChangeset; this.LatestTtbptChangeset = latestTtbptChangeset; this.LatestBgapsfChangeset = latestPstoChangeset; this.LatestBupstChangeset = latestPstChangeset; this.Globe = globe; this.Cash = cash; this.IsModified = isModified; this.BenchmarkDate = benchmarkDate; this.PortfolioScaledGrandTotal = portfolioScaledGranTotal; this.TrueExposureGrandTotal = trueExposureGrandTotal; this.TrueActiveGrandTotal = trueActiveGrandTotal; this.IsUserPermittedToSave = isUserPermittedToSave; }
public OtherModel( NullableExpressionModel baseExpression, NullableExpressionModel baseActiveExpression, IEnumerable <BasketCountryModel> savedBasketCountries, ExpressionModel benchmarkExpression, ExpressionModel overlayExpression, NullableExpressionModel portfolioAdjustmentExpression, NullableExpressionModel portfolioScaledExpression, NullableExpressionModel trueActiveExpression, NullableExpressionModel trueExposureExpression, IEnumerable <UnsavedBasketCountryModel> unsavedBasketCountries ) : this() { this.Base = baseExpression; this.BaseActive = baseActiveExpression; this.Benchmark = benchmarkExpression; this.Overlay = overlayExpression; this.PortfolioAdjustment = portfolioAdjustmentExpression; this.PortfolioScaled = portfolioScaledExpression; this.TrueActive = trueActiveExpression; this.TrueExposure = trueExposureExpression; this.BasketCountries.AddRange(savedBasketCountries); this.UnsavedBasketCountries.AddRange(unsavedBasketCountries); }
public PortfolioModel( BroadGlobalActivePortfolioModel broadGlobalActivePortfolio, NullableExpressionModel portfolioTargetTotalExpression ) { this.BroadGlobalActivePortfolio = broadGlobalActivePortfolio; this.PortfolioTargetTotal = portfolioTargetTotalExpression; }
public CashModel(NullableExpressionModel baseExpression, NullableExpressionModel scaledExpression, NullableExpressionModel trueExposureExpression, NullableExpressionModel trueActiveExpression) : this() { this.Base = baseExpression; this.Scaled = scaledExpression; this.TrueExposure = trueExposureExpression; this.TrueActive = trueActiveExpression; }
public SecurityModel( Aims.Data.Server.SecurityModel security, EditableExpressionModel baseExpression, ExpressionModel benchmarkExpression, IEnumerable <PortfolioTargetModel> portfolioTargets, NullableExpressionModel baseActiveExpression ) : this() { this.Security = security; this.Base = baseExpression; this.Benchmark = benchmarkExpression; this.PortfolioTargets.AddRange(portfolioTargets); this.BaseActive = baseActiveExpression; }
public RootModel( String bottomUpPortfolioId, ChangesetModel changesetModel, IEnumerable <ItemModel> items, NullableExpressionModel targetTotalExpression, NullableExpressionModel cashExpression, Boolean isModified ) : this() { this.BottomUpPortfolioId = bottomUpPortfolioId; this.ChangesetModel = changesetModel; this.TargetTotal = targetTotalExpression; this.Cash = cashExpression; this.Items.AddRange(items); this.IsModified = isModified; }
public GlobeModel( IEnumerable <GlobeResident> residents, NullableExpressionModel baseExpression, ExpressionModel benchmarkExpression, ExpressionModel overlayExpression, NullableExpressionModel portfolioAdjustmentExpression, NullableExpressionModel portfolioScaledExpression, NullableExpressionModel trueActiveExpression, NullableExpressionModel trueExposureExpression ) : this() { this.Residents.AddRange(residents.ToList()); this.Base = baseExpression; this.Benchmark = benchmarkExpression; this.Overlay = overlayExpression; this.PortfolioAdjustment = portfolioAdjustmentExpression; this.PortfolioScaled = portfolioScaledExpression; this.TrueActive = trueActiveExpression; this.TrueExposure = trueExposureExpression; }
public UnsavedBasketCountryModel( EditableExpressionModel baseExpression, NullableExpressionModel baseActiveExpression, ExpressionModel benchmarkExpression, Aims.Data.Server.CountryModel country, ExpressionModel overlayExpression, EditableExpressionModel portfolioAdjustmentExpression, NullableExpressionModel portfolioScaledExpression, NullableExpressionModel trueActiveExpression, NullableExpressionModel trueExposureExpression ) { this.Base = baseExpression; this.BaseActive = baseActiveExpression; this.Benchmark = benchmarkExpression; this.Country = country; this.Overlay = overlayExpression; this.PortfolioAdjustment = portfolioAdjustmentExpression; this.PortfolioScaled = portfolioScaledExpression; this.TrueActive = trueActiveExpression; this.TrueExposure = trueExposureExpression; }
public BasketCountryModel( EditableExpressionModel baseExpression, NullableExpressionModel baseActiveExpression, CountryBasketModel basket, ExpressionModel benchmarkExpression, ExpressionModel overlayExpression, EditableExpressionModel portfolioAdjustmentExpression, NullableExpressionModel portfolioScaledExpression, NullableExpressionModel trueActiveExpression, NullableExpressionModel trueExposureExpression ) { this.Base = baseExpression; this.BaseActive = baseActiveExpression; this.Basket = basket; this.Benchmark = benchmarkExpression; this.Overlay = overlayExpression; this.PortfolioAdjustment = portfolioAdjustmentExpression; this.PortfolioScaled = portfolioScaledExpression; this.TrueActive = trueActiveExpression; this.TrueExposure = trueExposureExpression; }