コード例 #1
0
 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;
 }
コード例 #2
0
 public ValuesController(IDIService service)
 {
     this.service = service;
 }
コード例 #3
0
ファイル: DIGrain.cs プロジェクト: ericgla/OrleansTestKit
 public DIGrain(IDIService service)
 {
     Service = service;
 }
コード例 #4
0
 public HomeController(ILogger <HomeController> logger, IDIService service, ISessionManager sessionManager)
 {
     _logger         = logger;
     _service        = service;
     _sessionManager = sessionManager;
 }