Esempio n. 1
0
 public Manager(ICandidateStore candidateStore, IMatchSetStore matchSetStore, IMatchSet set)
 {
     this.CandidateStore = candidateStore;
     this.MatchSetStore  = matchSetStore;
     this.Set            = set;
     this.Monitor        = new DataMonitor(CandidateStore, MatchSetStore, Set);
     this.Processor      = new SetProcessor();
     this.Matcher        = new Matcher();
     MatchSetStore.Store(Set);
 }
Esempio n. 2
0
 public void Dispose()
 {
     CandidateStore.Dispose();
     MatchSetStore.Dispose();
 }
Esempio n. 3
0
 public void NotReady(IMatchSet matchSet)
 {
     MatchSetStore.MarkNotReady(matchSet.Id);
     CanExecute = false;
 }
Esempio n. 4
0
 public void Ready(IMatchSet matchSet)
 {
     MatchSetStore.MarkReady(matchSet.Id);
     CanExecute = true;
 }