public void InjectDependencies(
     ISocialPolicyCanon policyCanon, ISocialPolicyCostLogic policyCostLogic,
     DiContainer container
     )
 {
     PolicyCanon     = policyCanon;
     PolicyCostLogic = policyCostLogic;
     Container       = container;
 }
Пример #2
0
 public void InjectDependencies(
     ISocialPolicyCostLogic policyCostLogic, ICivilizationYieldLogic yieldLogic,
     [Inject(Id = "Available Policy Trees")] IEnumerable <IPolicyTreeDefinition> availablePolicyTrees,
     CivilizationSignals civSignals, DiContainer container
     )
 {
     PolicyCostLogic      = policyCostLogic;
     YieldLogic           = yieldLogic;
     AvailablePolicyTrees = availablePolicyTrees;
     CivSignals           = civSignals;
     Container            = container;
 }