示例#1
0
 public DataIntegrityManager()
 {
     _connectivityService = FreshIOC.Container.Resolve <IConnectivityService>();
     _courseService       = FreshIOC.Container.Resolve <ICoursesService>();
     _courseRepository    = FreshIOC.Container.Resolve <ICourseRepository>();
     _courseManager       = FreshIOC.Container.Resolve <ICourseManager>();;
 }
示例#2
0
 private DataIntegrityManager(ICoursesService courseService,
                              ICourseRepository courseRepository, NsuGo.Definition.Interfaces.DataManagers.ICourseManager courseManager)
 {
     _courseService       = courseService;
     _courseManager       = courseManager;
     _courseRepository    = courseRepository;
     _connectivityService = FreshIOC.Container.Resolve <IConnectivityService>();
     //this.Subscribe<Message>(HandleMessageNotifications);
 }