コード例 #1
0
 public SettingMsController()
 {
     db               = new CloudControlEntities();
     adminsService    = new AdminsService(db);
     limsService      = new LimsService(db);
     adminlimsService = new AdminLimsService(db);
 }
コード例 #2
0
        public ViewModelLocator()
        {
            var state = new LimsService();

            LoginUrl       = new LoginUrlViewModel(state);
            Recipe         = new GetRecipeViewModel(state);
            LoginPage      = new LoginPageViewModel(state);
            Metrics        = new MetricsViewModel(state);
            ProgressUpdate = new ProgressUpdateViewModel(state);
            RunAll         = new RunAllViewModel(state);
            Samplesheet    = new SamplesheetViewModel(state);

            Main = new MainViewModel(state, LoginUrl, Recipe, LoginPage, Metrics, ProgressUpdate, RunAll, Samplesheet);
        }
コード例 #3
0
 public CheckSessionAttribute()
 {
     limsService      = new LimsService();
     adminlimsService = new AdminLimsService();
 }
コード例 #4
0
 protected ViewModelBase(LimsService state)
 {
     _service = state;
 }
コード例 #5
0
 public BaseController()
 {
     limsService = new LimsService();
 }