Пример #1
0
 public HomeController(
     IOptions <GeneralSettings> generalSettings,
     IOptions <LocalPlatformSettings> localPlatformSettings,
     IUserProfiles userProfileService,
     IAuthentication authenticationService,
     IApplicationRepository applicationRepository,
     ILocalApp localApp)
 {
     _generalSettings       = generalSettings.Value;
     _localPlatformSettings = localPlatformSettings.Value;
     _userProfileService    = userProfileService;
     _authenticationService = authenticationService;
     _applicationRepository = applicationRepository;
     _localApp = localApp;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PolicyRetrievalPoint"/> class.
 /// </summary>
 /// <param name="policyRepository">The policy Repository..</param>
 public PolicyRetrievalPoint(
     ILocalApp localApp)
 {
     _localApp = localApp;
 }
Пример #3
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(ILocalApp localTestAppSelectionService)
 {
     _localApp = localTestAppSelectionService;
 }