Example #1
0
 public HomeController(
     IOptions <GeneralSettings> generalSettings,
     IOptions <LocalPlatformSettings> localPlatformSettings,
     IApplicationRepository applicationRepository,
     IUserProfiles userProfileService,
     IAuthentication authenticationService,
     ILocalTestAppSelection appSelectionService)
 {
     _generalSettings       = generalSettings.Value;
     _localPlatformSettings = localPlatformSettings.Value;
     _applicationRepository = applicationRepository;
     _userProfileService    = userProfileService;
     _authenticationService = authenticationService;
     _appSelectionService   = appSelectionService;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextRepository"/> class with the given local platform settings.
 /// </summary>
 /// <param name="localPlatformSettings">Local platform settings.</param>
 public TextRepository(ILocalTestAppSelection localTestAppSelectionService)
 {
     _localTestAppSelectionService = localTestAppSelectionService;
 }
 public ApplicationRepository(ILocalTestAppSelection localTestAppSelectionService, ILogger <ApplicationRepository> logger)
 {
     _localTestAppSelectionService = localTestAppSelectionService;
     _logger = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PolicyRetrievalPoint"/> class.
 /// </summary>
 /// <param name="policyRepository">The policy Repository..</param>
 public PolicyRetrievalPoint(IOptions <LocalPlatformSettings> localPlatformSettings, ILocalTestAppSelection localTestAppSelectionService)
 {
     _localPlatformSettings        = localPlatformSettings.Value;
     _localTestAppSelectionService = localTestAppSelectionService;
 }