public EyeTrackerSettingsSectionViewModel(IEyeTrackerConfiguration configuration, IEnumerable <ITrackerFinder> finders, IModulesService modules) { _configuration = configuration; AddDrivers(finders); modules.Register <ITrackerFinder>(this, AddDrivers); }
public TrackerBrowser(IEnumerable <ITrackerFinder> finders, IEyeTrackerConfiguration configuration, IModulesService modules) { _configuration = configuration; AddTrackerFinders(finders); modules.Register <ITrackerFinder>(this, AddTrackerFinders); }
public ControlServicesIconsViewModel(IEnumerable <IControlService> services, IModulesService modules, ViewModelResolver resolver) { _resolver = resolver; AddServices(services); modules.Register <IControlService>(this, AddServices); }
public AppService(IEnumerable <IConnector> connectors, IEnumerable <ILoader> loaders, IEnumerable <IControlService> controls, IModulesService modules) { state = AppState.None; _connectors = connectors ?? Enumerable.Empty <IConnector>(); _loaders = loaders ?? Enumerable.Empty <ILoader>(); _controls.TryAddRange(controls); modules.Register <IControlService>(this, AddControlServices); }
public ServerControlService ( ServerHost server, IServerConfiguration configuration, IEnumerable <JsonConverter> converters, IEnumerable <MediaTypeFormatter> formatters, IModulesService modules ) { _server = server; _configuration = configuration; AddConverters(converters); AddFormatters(formatters); modules.Register <JsonConverter>(this, AddConverters); modules.Register <MediaTypeFormatter>(this, AddFormatters); _server.CustomFileExtensionContentTypeProvider = new CustomContentTypeProvider(); }
public TimelinePreparation(IEnumerable <ITimelineStepPreparation> preparations, IModulesService modules) { AddPreparations(preparations); modules.Register <ITimelineStepPreparation>(this, AddPreparations); }
public SettingsViewModel(IEnumerable <ISettingsSectionViewModel> sections, IModulesService modules) { AddSections(sections); modules.Register <ISettingsSectionViewModel>(this, AddSections); }
public SessionRecorderFactoryLocator(IEnumerable<ISessionRecorderFactory> factories, IModulesService modules) { AddFactories(factories); modules.Register<ISessionRecorderFactory>(this, AddFactories); }
public ViewModelResolver(IEnumerable <IViewModelFactory> factories, IModulesService modules) { AddFactories(factories); modules.Register <IViewModelFactory>(this, AddFactories); }
public SessionDefinitionsSource(IEnumerable <ISessionDefinitionsSource> collections, IModulesService modules) { collections?.ForEach(Link); modules.Register <ISessionDefinitionsSource>(this, c => c?.ForEach(Link)); }