示例#1
0
 public ObserverBase(SubjectBase subjectBase)
 {
     subjectBase.JobExecutedCallBackEvent       += new SubjectBase.JobExecutedCallBack(Post);
     subjectBase.SchedulerExecutedCallBackEvent += new SubjectBase.SchedulerExecutedCallBack(SendMail);
 }
 public Observer(SubjectBase subjectBase) : base(subjectBase)
 {
 }