Exemple #1
0
        public CameraPage(IControllerContainer controllerProvider, ILoggerFactory loggerFactory)
        {
            Logger             = loggerFactory.CreateLogger <CameraPage>();
            ControllerProvider = controllerProvider;

            InitializeComponent();
        }
Exemple #2
0
        public CameraPage(IControllerContainer controllerProvider, ILoggerFactory loggerFactory, IEnumerable <IFilePatternProvider> filePatternProviders)
        {
            Logger               = loggerFactory.CreateLogger <CameraPage>();
            ControllerProvider   = controllerProvider;
            FilePatternProviders = filePatternProviders;

            InitializeComponent();
        }
Exemple #3
0
        public MainWindow(IServiceProvider serviceProvider, IStepProvider stepProvider, IPageContainer pageContainer, IControllerContainer controllerContainer, IDialogService dialogService)
        {
            ServiceProvider     = serviceProvider;
            StepProvider        = stepProvider;
            PageContainer       = pageContainer;
            ControllerContainer = controllerContainer;
            DialogService       = dialogService;

            ViewModel.Set("Eject", CreateEjectViewModel());

            ViewModel.Step = CreateSteps();
            ViewModel.Step.PropertyChanging += Step_PropertyChanging;
            ViewModel.Step.PropertyChanged  += Step_PropertyChanged;

            InitializeComponent();
            DataContext = ViewModel;
        }