protected override void OnCruiseIDChanged(string value)
 {
     base.OnCruiseIDChanged(value);
     if (value != null)
     {
         SampleSelectorDataService = new SampleSelectorRepository(GetDataservice <ISampleInfoDataservice>());
     }
     else
     {
         SampleSelectorDataService = null;
     }
 }
Exemple #2
0
        public TreeBasedTallyService(ICruiseDialogService dialogService, ITallyDataservice tallyDataservice, ISampleSelectorDataService sampleSelectorDataservice)
        {
            TallyDataservice          = tallyDataservice ?? throw new ArgumentNullException(nameof(TallyDataservice));
            SampleSelectorDataservice = sampleSelectorDataservice ?? throw new ArgumentNullException(nameof(SampleSelectorDataservice));

            DialogService = dialogService ?? throw new ArgumentNullException(nameof(dialogService));
        }
Exemple #3
0
 public PlotTallyService(ICruiseDialogService dialogService, IPlotDatastore plotDataservice, ISampleSelectorDataService sampleSelectorDataservice)
 {
     PlotDataservice           = plotDataservice ?? throw new ArgumentNullException(nameof(plotDataservice));
     SampleSelectorDataservice = sampleSelectorDataservice ?? throw new ArgumentNullException(nameof(sampleSelectorDataservice));
     DialogService             = dialogService ?? throw new ArgumentNullException(nameof(dialogService));
 }