Beispiel #1
0
 public ViewDefinition(string name, ResultModelDefinition resultModelDefinition = null, UniqueId portfolioIdentifier = null, UserPrincipal user = null, Currency defaultCurrency = null, TimeSpan? minDeltaCalcPeriod = null, TimeSpan? maxDeltaCalcPeriod = null, TimeSpan? minFullCalcPeriod = null, TimeSpan? maxFullCalcPeriod = null, Dictionary<string, ViewCalculationConfiguration> calculationConfigurationsByName = null, UniqueId uniqueID = null)
 {
     _name = name;
     _uniqueID = uniqueID;
     _portfolioIdentifier = portfolioIdentifier;
     _user = user ?? UserPrincipal.DefaultUser;
     _resultModelDefinition = resultModelDefinition ?? new ResultModelDefinition();
     _defaultCurrency = defaultCurrency;
     _minDeltaCalcPeriod = minDeltaCalcPeriod;
     _maxDeltaCalcPeriod = maxDeltaCalcPeriod;
     _minFullCalcPeriod = minFullCalcPeriod;
     _maxFullCalcPeriod = maxFullCalcPeriod;
     _calculationConfigurationsByName = calculationConfigurationsByName ?? new Dictionary<string, ViewCalculationConfiguration>();
 }
Beispiel #2
0
 public ViewDefinition(string name, ResultModelDefinition resultModelDefinition = null, UniqueId portfolioIdentifier = null, UserPrincipal user = null, Currency defaultCurrency = null, TimeSpan?minDeltaCalcPeriod = null, TimeSpan?maxDeltaCalcPeriod = null, TimeSpan?minFullCalcPeriod = null, TimeSpan?maxFullCalcPeriod = null, Dictionary <string, ViewCalculationConfiguration> calculationConfigurationsByName = null, UniqueId uniqueID = null)
 {
     _name                            = name;
     _uniqueID                        = uniqueID;
     _portfolioIdentifier             = portfolioIdentifier;
     _user                            = user ?? UserPrincipal.DefaultUser;
     _resultModelDefinition           = resultModelDefinition ?? new ResultModelDefinition();
     _defaultCurrency                 = defaultCurrency;
     _minDeltaCalcPeriod              = minDeltaCalcPeriod;
     _maxDeltaCalcPeriod              = maxDeltaCalcPeriod;
     _minFullCalcPeriod               = minFullCalcPeriod;
     _maxFullCalcPeriod               = maxFullCalcPeriod;
     _calculationConfigurationsByName = calculationConfigurationsByName ?? new Dictionary <string, ViewCalculationConfiguration>();
 }