Exemplo n.º 1
0
 public OptionsController(IAltinnApp altinnApp, IAppResources appResourcesService)
 {
     _altinnApp          = altinnApp;
     _appResourceService = appResourcesService;
 }
Exemplo n.º 2
0
 public AltinnApp(IAppResources appResourcesService, ILogger <AltinnApp> logger, IData dataService, IProcess processService, IPDF pdfService, IPrefill prefillService) : base(appResourcesService, logger, dataService, processService, pdfService, prefillService)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceController"/> class
 /// </summary>
 /// <param name="appResourcesService">The execution service</param>
 public ResourceController(IAppResources appResourcesService)
 {
     _appResourceService = appResourcesService;
 }
 public UpdateManager(IAppEnvironment environment, LocalSettingsService localSettingsService, IAppResources appResources)
 {
     _environment          = environment;
     _localSettingsService = localSettingsService;
     _domain = appResources.AppData.Domain;
 }
Exemplo n.º 5
0
 public WinEnvironment(IAppResources appResources)
 {
     _dataFolder = appResources.AppData.DataFolder;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Creates a new instance of the <see cref="PrefillSI"/> class
 /// </summary>
 /// <param name="logger">The logger</param>
 /// <param name="profile">The profile service</param>
 /// <param name="appResourcesService">The app's resource service</param>
 public PrefillSI(ILogger <PrefillSI> logger, IProfile profile, IAppResources appResourcesService)
 {
     _logger              = logger;
     _profile             = profile;
     _appResourcesService = appResourcesService;
 }
        public MainTargetsModel(StaticFilesCacheService staticFilesCacheService, CoreData coreData, ConnectionService connectionService, IAppResources resources,
                                TranscodingModel transcoding)
        {
            _staticFilesCacheService = staticFilesCacheService;
            CoreData           = coreData;
            _connectionService = connectionService;
            _resources         = resources;

            AppData     = resources.AppData;
            Transcoding = transcoding;

            CustomTarget = CoreData.Create <ITarget>(s =>
            {
                s.Flags  = TargetFlags.Key | TargetFlags.Url;
                s.Name   = "Custom";
                s.WebUrl = "";
            });
        }
Exemplo n.º 8
0
 public DataMockSI(IAppResources application)
 {
     _applicationService = application;
 }
Exemplo n.º 9
0
 public ConnectionService(IAppEnvironment environment, IdService idService, LogService logService, IAppResources appResources)
 {
     _environment  = environment;
     _idService    = idService;
     _logService   = logService;
     _appResources = appResources;
     _domain       = appResources.AppData.Domain;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextsController"/> class.
 /// </summary>
 /// <param name="appResources">A service with access to text resources.</param>
 public TextsController(IAppResources appResources)
 {
     _appResources = appResources;
 }
 public TranscodingModel(CoreData coreData, StreamSettingsModel streamSettings, ConnectionService connectionService, IAppResources appResources)
 {
     CoreData           = coreData;
     StreamSettings     = streamSettings;
     _connectionService = connectionService;
     _appResources      = appResources;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PagesController"/> class.
 /// </summary>
 /// <param name="altinnApp">The current App Core used to interface with custom logic</param>
 /// <param name="resources">The app resource service</param>
 /// <param name="logger">A logger provided by the logging framework.</param>
 public PagesController(IAltinnApp altinnApp, IAppResources resources, ILogger <PagesController> logger)
 {
     _altinnApp = altinnApp;
     _resources = resources;
     _logger    = logger;
 }
Exemplo n.º 13
0
 public RootModel(ILifetimeScope container, IWindowStateManager windowStateManager, HubConnectionService hubConnectionService, MainVpnModel mainVpnModel, IAppResources appResources)
 {
     AppData               = appResources.AppData;
     _container            = container;
     WindowStateManager    = windowStateManager;
     _hubConnectionService = hubConnectionService;
     _mainVpnModel         = mainVpnModel;
 }
Exemplo n.º 14
0
 public ResourcesHandler(IAppResources appResources) : base(null, null)
 {
     this.appResources = appResources;
 }