public AssignersController(ConsultantDB db, IAssigner assigner)
 {
     _db       = db;
     _assigner = assigner;
 }
 public CollectionAssignerAdapter(IAssigner assigner)
 {
     // this._instances = instances;
     this._assigner = assigner;
 }
示例#3
0
 public Simulator(Config config, List <Home> homes, string assignerType)
 {
     this.Config   = config;
     this.Homes    = homes;
     this.Assigner = AssignerFactory.CreateAssigner(assignerType, config);
 }