コード例 #1
0
 public LoginController(
     ApplicationContextActivityDecorator traceActivityDecorator,
     ConfigPreloader configPreloader,
     ApplicationCache cache,
     RecaptchaManager recaptchaManager,
     ITwoFactorAuthenticator twoFactorAuthenticator,
     ILogger <LoginController> logger,
     IMessageBus messageBus,
     IHttpContextAccessor httpContextAccessor)
 {
     this.traceActivityDecorator = traceActivityDecorator;
     this.configPreloader        = configPreloader;
     this.cache                  = cache;
     this.recaptchaManager       = recaptchaManager;
     this.twoFactorAuthenticator = twoFactorAuthenticator;
     this.logger                 = logger;
     this.messageBus             = messageBus;
     this.httpContextAccessor    = httpContextAccessor;
 }
コード例 #2
0
 public CommentController(CommentService commentService, RecaptchaManager recaptchaManager)
 {
     this.commentService   = commentService;
     this.recaptchaManager = recaptchaManager;
 }