示例#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);
 }
示例#2
0
 public DataMonitor(ICandidateStore candidateStore, IMatchSetStore matchSetStore, IMatchSet matchSet)
 {
     this.CandidateStore = candidateStore;
     this.MatchSetStore  = matchSetStore;
     this.MatchSet       = matchSet;
 }