コード例 #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 MapFile()
 {
     db             = new TalentGoDbContext();
     candidateStore = new CandidateStore(db);
     fileStore      = new FileStore(db);
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="store"></param>
 public CandidateManager(ICandidateStore store)
 {
     this.Store = store;
 }
コード例 #4
0
 public static void Store(this ICandidateStore store, params ICandidate[] candidates)
 => store.Store((IEnumerable <ICandidate>)candidates);
コード例 #5
0
ファイル: Sender.cs プロジェクト: bloglan/TalentGo
        //各位考生,你好!曲靖市烟草专卖局(公司)毕业生招聘理论考试定于2018年5月5日上午9一11点在云南师范大学商学院(昆明五华区商院路1号)慧宇楼举行,敬请各位考生及时登录招聘系统自行打印准考证。

        public Sender()
        {
            this.store = new CandidateStore(new TalentGoDbContext());
            this.svc   = new EaseIMTemplatedShortMessageService(new MemorySMSQueueStore());
        }
コード例 #6
0
 public DataMonitor(ICandidateStore candidateStore, IMatchSetStore matchSetStore, IMatchSet matchSet)
 {
     this.CandidateStore = candidateStore;
     this.MatchSetStore  = matchSetStore;
     this.MatchSet       = matchSet;
 }