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); }
public void Dispose() { CandidateStore.Dispose(); MatchSetStore.Dispose(); }
public void NotReady(IMatchSet matchSet) { MatchSetStore.MarkNotReady(matchSet.Id); CanExecute = false; }
public void Ready(IMatchSet matchSet) { MatchSetStore.MarkReady(matchSet.Id); CanExecute = true; }