public WebAutomationViewModel(IManifestService manifestService, ITestCollectionService testCollectionService, IConfigurationService configurationService) { _manifestService = manifestService; _testCollectionService = testCollectionService; _configurationService = configurationService; Header = "Web Automation"; ResultsViewModel = App.ServiceLocator.GetInstance <ResultsViewModel>(); Manifests = new ObservableCollection <ManifestViewModel>(); TransitionArea = ResultsViewModel; LoadInformation(); EditCategoriesCommand = new RelayCommand(EditTestCollections, t => EditTestCollectionViewModel == null); LoadManifestCommand = new RelayCommand(parameter => { var dialog = new OpenFileDialog { Filter = "Manifest File|.manifests.json", }; var result = dialog.ShowDialog(); if (result == true) { _configurationService.TestScriptsPath = Path.GetDirectoryName(dialog.FileName); _manifestService.ReloadManifest(); LoadInformation(); } }); }
public MnchController(IMediator mediator, IManifestRepository manifestRepository, IManifestService manifestService, IMnchService mnchService) { _mediator = mediator; _manifestService = manifestService; _mnchService = mnchService; }
public HtsController(IMediator mediator, IManifestRepository manifestRepository, IHtsClientRepository htsClientRepository, IManifestService manifestService, IHtsService htsService) { _mediator = mediator; _htsClientRepository = htsClientRepository; _manifestService = manifestService; _htsService = htsService; }
public WebAutomationViewModel(IManifestService manifestService, ITestCollectionService testCollectionService, IConfigurationService configurationService) { _manifestService = manifestService; _testCollectionService = testCollectionService; _configurationService = configurationService; Header = "Web Automation"; ResultsViewModel = App.ServiceLocator.GetInstance<ResultsViewModel>(); Manifests = new ObservableCollection<ManifestViewModel>(); TransitionArea = ResultsViewModel; LoadInformation(); EditCategoriesCommand = new RelayCommand(EditTestCollections, t => EditTestCollectionViewModel == null); LoadManifestCommand = new RelayCommand(parameter => { var dialog = new OpenFileDialog { Filter = "Manifest File|.manifests.json", }; var result = dialog.ShowDialog(); if (result == true) { _configurationService.TestScriptsPath = Path.GetDirectoryName(dialog.FileName); _manifestService.ReloadManifest(); LoadInformation(); } }); }
public Splash(Windows.ApplicationModel.Activation.SplashScreen splashScreen, Services.IManifestService manifestService) { _manifestService = manifestService; this.InitializeComponent(); // setup size Action resize = () => { MyImage.Height = splashScreen.ImageLocation.Height; MyImage.Width = splashScreen.ImageLocation.Width; MyImage.SetValue(Canvas.TopProperty, splashScreen.ImageLocation.Top); MyImage.SetValue(Canvas.LeftProperty, splashScreen.ImageLocation.Left); }; MyImage.ImageOpened += (s, e) => Window.Current.Activate(); Window.Current.SizeChanged += (s, e) => resize(); resize(); // background color var splashColor = _manifestService.SplashBackgroundColor; var splashBrush = new SolidColorBrush(splashColor); MyGrid.Background = splashBrush; // splash image var splashPath = _manifestService.SplashImage; var splashUrl = System.IO.Path.Combine("ms-appx:///", splashPath); var splashUri = new Uri(splashUrl); var splashImg = new BitmapImage(splashUri); MyImage.Source = splashImg; }
public TestCollectionService(IConfigurationService configurationService, IFileService fileService, ICommandService commandService, IManifestService manifestService) { _configurationService = configurationService; _fileService = fileService; _commandService = commandService; _manifestService = manifestService; }
public HomeController( IManifestService manifestService, IBrowserConfigService browserConfigService) { _manifestService = manifestService; _browserConfigService = browserConfigService; }
public CbsController(IMediator mediator, IManifestRepository manifestRepository, IMasterPatientIndexRepository masterPatientIndexRepository, IManifestService manifestService, IMpiService mpiService) { _mediator = mediator; _masterPatientIndexRepository = masterPatientIndexRepository; _manifestService = manifestService; _mpiService = mpiService; }
public HomeController(IRobotsService robotsService, IManifestService manifestService, IContactUsService contactUsService, IUserSettingsService userSettingsService, IUserProfileService userProfileService, ILogService logService, IMapper mapper, IVideoAttributesService videoAttributesService, IBannerDetailsService bannerDetailsService, ISitemapService sitemapService, IOpenSearchService openSearchService, IBrowserConfigService browserConfigService, IFeedService feedService) : base(logService, mapper) { _videoAttributesService = videoAttributesService; _mapper = mapper; _userSettingsService = userSettingsService; _userProfileService = userProfileService; _bannerDetailsService = bannerDetailsService; _contactUsService = contactUsService; _manifestService = manifestService; _robotsService = robotsService; _sitemapService = sitemapService; _openSearchService = openSearchService; _browserConfigService = browserConfigService; _feedService = feedService; }
public HomeController( IBrowserConfigService browserConfigService, #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. IFeedService feedService, #endif IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService, IOptions <AppSettings> appSettings) { this.appSettings = appSettings; this.browserConfigService = browserConfigService; #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. this.feedService = feedService; #endif this.manifestService = manifestService; this.openSearchService = openSearchService; this.robotsService = robotsService; this.sitemapService = sitemapService; }
public HomeController( IBrowserConfigService browserConfigService, #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. IFeedService feedService, #endif IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService, IOptions<AppSettings> appSettings) { this.appSettings = appSettings; this.browserConfigService = browserConfigService; #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. this.feedService = feedService; #endif this.manifestService = manifestService; this.openSearchService = openSearchService; this.robotsService = robotsService; this.sitemapService = sitemapService; }
public HomeController( IBrowserConfigService browserConfigService, IManifestService manifestService, IRobotsService robotsService) { _browserConfigService = browserConfigService; _manifestService = manifestService; _robotsService = robotsService; }
public HomeController( IBrowserConfigService browserConfigService, IManifestService manifestService, IOptions <AppSettings> appSettings) { this.appSettings = appSettings; this.browserConfigService = browserConfigService; this.manifestService = manifestService; }
// $End-Sitemap$ #endregion #region Constructors public HomeController( // $Start-Windows81IE11EdgeFavicon$ IBrowserConfigService browserConfigService, // $End-Windows81IE11EdgeFavicon$ // $Start-Feed$ // $Start-TargetFramework-NetFramework$ #if NET461 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. // $End-TargetFramework-NetFramework$ IFeedService feedService, // $Start-TargetFramework-NetFramework$ #endif // $End-TargetFramework-NetFramework$ // $End-Feed$ // $Start-AndroidChromeM39Favicons$ IManifestService manifestService, // $End-AndroidChromeM39Favicons$ // $Start-Search$ IOpenSearchService openSearchService, // $End-Search$ // $Start-RobotsText$ IRobotsService robotsService, // $End-RobotsText$ // $Start-Sitemap$ ISitemapService sitemapService, // $End-Sitemap$ IOptions <AppSettings> appSettings) { this.appSettings = appSettings; // $Start-Windows81IE11EdgeFavicon$ this.browserConfigService = browserConfigService; // $End-Windows81IE11EdgeFavicon$ // $Start-Feed$ // $Start-TargetFramework-NetFramework$ #if NET461 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. // $End-TargetFramework-NetFramework$ this.feedService = feedService; // $Start-TargetFramework-NetFramework$ #endif // $End-TargetFramework-NetFramework$ // $End-Feed$ // $Start-AndroidChromeM39Favicons$ this.manifestService = manifestService; // $End-AndroidChromeM39Favicons$ // $Start-Search$ this.openSearchService = openSearchService; // $End-Search$ // $Start-RobotsText$ this.robotsService = robotsService; // $End-RobotsText$ // $Start-Sitemap$ this.sitemapService = sitemapService; // $End-Sitemap$ }
public PublishManifestCommand( IManifestService manifestToolService, ILoggerService loggerService, IDateTimeService dateTimeService) { _manifestToolService = manifestToolService ?? throw new ArgumentNullException(nameof(manifestToolService)); _loggerService = loggerService ?? throw new ArgumentNullException(nameof(loggerService)); _dateTimeService = dateTimeService ?? throw new ArgumentNullException(nameof(dateTimeService)); }
public HomeController( IBrowserConfigService browserConfigService, IManifestService manifestService, IRobotsService robotsService, ISitemapService sitemapService) { this.browserConfigService = browserConfigService; this.manifestService = manifestService; this.robotsService = robotsService; this.sitemapService = sitemapService; }
/// <summary> /// Initializes a new instance of the <see cref="AssetService"/> class. /// </summary> /// <param name="sharedSettings">Shared settings.</param> /// <param name="manifestService">Asset manifest service.</param> /// <param name="tagBuilder">Asset builder service.</param> public AssetService(ISharedSettings sharedSettings, IManifestService manifestService, ITagBuilder tagBuilder) { if (sharedSettings == null) { throw new ArgumentNullException(nameof(sharedSettings)); } AssetsDirectoryPath = sharedSettings.AssetsDirectoryPath; AssetsWebPath = sharedSettings.AssetsWebPath; _manifestService = manifestService; _tagBuilder = tagBuilder; }
public ReleasesController(IGitService gitService, IJiraService jiraService, ILogger <ReleasesController> logger, IManifestService manifestService, IProductionMonitorService productionMonitorService, IUserRepository userRepository) { _gitService = gitService; _jiraService = jiraService; _logger = logger; _manifestService = manifestService; _productionMonitorService = productionMonitorService; _userRepository = userRepository; }
// $End-Sitemap$ #endregion #region Constructors public HomeController( // $Start-Windows81IE11EdgeFavicon$ IBrowserConfigService browserConfigService, // $End-Windows81IE11EdgeFavicon$ // $Start-Feed$ #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. IFeedService feedService, #endif // $End-Feed$ // $Start-AndroidChromeM39Favicons$ IManifestService manifestService, // $End-AndroidChromeM39Favicons$ // $Start-Search$ IOpenSearchService openSearchService, // $End-Search$ // $Start-RobotsText$ IRobotsService robotsService, // $End-RobotsText$ // $Start-Sitemap$ ISitemapService sitemapService, // $End-Sitemap$ IOptions<AppSettings> appSettings) { this.appSettings = appSettings; // $Start-Windows81IE11EdgeFavicon$ this.browserConfigService = browserConfigService; // $End-Windows81IE11EdgeFavicon$ // $Start-Feed$ #if DNX451 // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. this.feedService = feedService; #endif // $End-Feed$ // $Start-AndroidChromeM39Favicons$ this.manifestService = manifestService; // $End-AndroidChromeM39Favicons$ // $Start-Search$ this.openSearchService = openSearchService; // $End-Search$ // $Start-RobotsText$ this.robotsService = robotsService; // $End-RobotsText$ // $Start-Sitemap$ this.sitemapService = sitemapService; // $End-Sitemap$ }
public ManifestsController( IUnityContainer container, IRegionManager regionManager, IEventAggregator eventAggregator, IConfigurationService configurationService, IManifestService manifestService, ITestCollectionService testCollectionService) { _container = container; _regionManager = regionManager; _eventAggregator = eventAggregator; _configurationService = configurationService; _manifestService = manifestService; _testCollectionService = testCollectionService; }
public HomeController( IBrowserConfigService browserConfigService, IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService, IOptions <AppSettings> appSettings) { _appSettings = appSettings; _browserConfigService = browserConfigService; _manifestService = manifestService; _openSearchService = openSearchService; _robotsService = robotsService; _sitemapService = sitemapService; }
public HomeController( IProjectsServices projectServices, ILanguagesService langService, IPhrasesContextServices phrsContService, ITokenContainer tokenContainer, ISystemStabilityLoggsService systemStabilityLoggsService, IManifestService manifestService) { this.projectServices = projectServices; this.langService = langService; this.phrsContService = phrsContService; this.tokenContainer = tokenContainer; this.systemStabilityLoggsService = systemStabilityLoggsService; this.manifestService = manifestService; }
public HomeController( IBrowserConfigService browserConfigService, IFeedService feedService, IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService) { _browserConfigService = browserConfigService; _feedService = feedService; _manifestService = manifestService; _openSearchService = openSearchService; _robotsService = robotsService; _sitemapService = sitemapService; }
public HomeController( IBrowserConfigService browserConfigService, IFeedService feedService, IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService) { this.browserConfigService = browserConfigService; this.feedService = feedService; this.manifestService = manifestService; this.openSearchService = openSearchService; this.robotsService = robotsService; this.sitemapService = sitemapService; }
public HomeController( IBrowserConfigService browserConfigService, IFeedService feedService, IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService) { this.browserConfigService = browserConfigService; this.feedService = feedService; this.manifestService = manifestService; this.openSearchService = openSearchService; this.robotsService = robotsService; this.sitemapService = sitemapService; }
public static async Task <IEnumerable <string> > GetImageLayersAsync( this IManifestService manifestService, string tag, IRegistryCredentialsHost credsHost, bool isDryRun) { ManifestQueryResult manifestResult = await manifestService.GetManifestAsync(tag, credsHost, isDryRun); if (isDryRun) { return(Enumerable.Empty <string>()); } if (!manifestResult.Manifest.ContainsKey("layers")) { JsonArray manifests = (JsonArray)(manifestResult.Manifest["manifests"] ?? throw new InvalidOperationException("Expected manifests property")); throw new InvalidOperationException( $"'{tag}' is expected to be a concrete tag with 1 manifest. It has '{manifests.Count}' manifests."); } return(((JsonArray)manifestResult.Manifest["layers"] !) .Select(layer => (layer !["digest"] ?? throw new InvalidOperationException("Expected digest property")).ToString())
public HomeController( IBrowserConfigService browserConfigService, IFeedService feedService, IManifestService manifestService, IOpenSearchService openSearchService, IRobotsService robotsService, ISitemapService sitemapService) { this.browserConfigService = browserConfigService; this.feedService = feedService; this.manifestService = manifestService; this.openSearchService = openSearchService; this.robotsService = robotsService; this.sitemapService = sitemapService; if (_dbContext == null) { if (string.IsNullOrEmpty(NewsConnectionString)) { throw new System.Exception("Connection string is not corrected...."); } _dbContext = new FrontendDbContext(NewsConnectionString); } }
public void SetUp() { _manifestService = _serviceProvider.GetService <IManifestService>(); _mediator = _serviceProvider.GetService <IMediator>(); _mnchService = _serviceProvider.GetService <IMnchService>(); }
public ManifestController(IManifestService manifestService) { _manifestService = manifestService; }
public InitializeManifestDefinitionCommand(IManifestService service, ManifestInitializationComplete callback) { manifestService = service; this.callback = callback; }
public DockerService(IManifestService manifestToolService) { _manifestToolService = manifestToolService ?? throw new ArgumentNullException(nameof(manifestToolService)); }
protected override void OnInitialized() { //general services _contextHolder = Services.AddNew<MigrationContextHolderService, IMigrationContextHolderService>(); _entityLoader = Services.AddNew<OrmEntityLoaderService, IOrmEntityLoaderService>(); _entityPersistor = Services.AddNew<EntityService, IEntityService>(); _portalUpdater = Services.AddNew<PortalService, IPortalService>(); _vsProjectGenerator = Services.AddNew<VSProjectService, IVSProjectService>(); _manifestGenerator = Services.AddNew<ManifestService, IManifestService>(); _hierarchyNodeService = Services.AddNew<HierarchyNodeService, IHierarchyNodeService>(); //form services Services.AddNew<FormLayoutService, IFormLayoutService>(); Services.AddNew<DataPathTranslationService, IDataPathTranslationService>(); Services.AddNew<ComponentSimplificationService, IComponentSimplificationService>(); Services.AddNew<FormSimplificationService, IFormSimplificationService>(); Services.AddNew<FormFlatteningService, IFormFlatteningService>(); Services.AddNew<ControlAlignmentService, IControlAlignmentService>(); Services.AddNew<VisibilityDeterminationService, IVisibilityDeterminationService>(); //TODO: script services _migrators = new IMigrationSupport[] { BuildTransientItem<MainViewMigrationSupport>(), BuildTransientItem<ToolbarMigrationSupport>(), BuildTransientItem<FormMigrationSupport>(), BuildTransientItem<LegacyFormMigrationSupport>(), BuildTransientItem<ScriptMigrationSupport>() }; base.OnInitialized(); }
public ManifestController(IManifestService service) { _service = service; }
public ManifestRuleEngine(IManifestService manifestService) { this.manifestService = manifestService; }