public Application(IConfiguration configuration, IOptions <GravatarsConfiguration> gravatarsConfiguration, ILogger <Application> logger, IGraphAPIService fbClient, IDownloadService downloadService, ICryptographyService cryptographyService) { _logger = logger; _fbClient = fbClient; _configuration = configuration; _downloadService = downloadService; _cryptographyService = cryptographyService; _gravatarsConfiguration = gravatarsConfiguration.Value; }
public GetAvailabilityController(IConfiguration configuration, ILogger <AvailabilityController> logger, IGraphAPIService graphAPIService) { //Initalize logger _logger = logger; _configuration = configuration; _graphAPIService = graphAPIService; //Get App settings from appsettings.json var EnvironmentVariable = configuration.GetSection("EnvironmentVariable"); EndDateCountFromToday = EnvironmentVariable.GetValue <int>("EndDateCountFromToday"); DefaultTimeZone = EnvironmentVariable.GetValue <string>("DefaultTimeZone"); }
public CustomClaimsController(IPermissionsService permissionsService, IGraphAPIService graphAPIService, ILogger <CustomClaimsController> logger) { _permissionsService = permissionsService; _graphAPIService = graphAPIService; _logger = logger; }
public PermissionsService(PermissionsContext permissionsContext, ILogger <PermissionsService> logger, IGraphAPIService graphAPIService) { _context = permissionsContext; _logger = logger; _graphAPIService = graphAPIService; }