public ExtrasController( IConfiguration configuration, IDataProtectionProvider protectionProvider, IHashService hashService, IDIService diService) { this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); this.protector = protectionProvider.CreateProtector("YouShouldNeverEverEverEverTellAnyoneYourSecrets"); this.hashService = hashService; this.diService = diService; }
public ValuesController(IDIService service) { this.service = service; }
public DIGrain(IDIService service) { Service = service; }
public HomeController(ILogger <HomeController> logger, IDIService service, ISessionManager sessionManager) { _logger = logger; _service = service; _sessionManager = sessionManager; }