Esempio n. 1
0
 internal Company(INN inn, Dictionary <string, CompanyParameter> paramDict, FocusKeyManager manager = null, bool scoringNeeded = true)
 {    //TODO remove singleton
     manager        = manager ?? Settings.DefaultManager;
     access         = manager.Access;
     scorer         = manager.Scorer;
     Inn            = inn;
     this.paramDict = paramDict;
     Score          = -1;
     if (scoringNeeded)
     {
         MakeScore();
     }
 }
Esempio n. 2
0
 public CompanyFactory(FocusKeyManager manager, bool withScore = true)
 {
     this.manager = manager;
     enableScore  = !this.manager.IsBaseMode();
 }
Esempio n. 3
0
 public void Reinstance(FocusKeyManager manager)
 {
     access = manager.Access;
     scorer = manager.Scorer;
 }