public CameraPage(IControllerContainer controllerProvider, ILoggerFactory loggerFactory) { Logger = loggerFactory.CreateLogger <CameraPage>(); ControllerProvider = controllerProvider; InitializeComponent(); }
public CameraPage(IControllerContainer controllerProvider, ILoggerFactory loggerFactory, IEnumerable <IFilePatternProvider> filePatternProviders) { Logger = loggerFactory.CreateLogger <CameraPage>(); ControllerProvider = controllerProvider; FilePatternProviders = filePatternProviders; InitializeComponent(); }
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; }