public KudoController(IConfiguration configuration, IKudoService kudoService, IUserService userService, IKudoMapper kudoMapper) { this.kudoService = kudoService; this.userService = userService; this.kudoMapper = kudoMapper; this.pageSize = int.Parse(configuration["AppData:CardViewIndexPageSize"]); }
public IdleEmailService(IEmailConfiguration emailConfiguration, IKudoService kudoService) { _emailConfiguration = emailConfiguration; _kudoService = kudoService; sslOptions = SecureSocketOptions.Auto; messages = new List <IMessageSummary>(); cancel = new CancellationTokenSource(); client = new ImapClient(new ProtocolLogger(Console.OpenStandardError())); }
public ReplaceKudoCommandHandler(IKudoService kudoService) { this.kudoService = kudoService; }
public DeleteKudoCommandHandler(IKudoService kudoService) { this.kudoService = kudoService; }
/// <summary> /// Inject Kudo service /// </summary> /// <returns></returns> public ReportController(IKudoService kudoService, IMapper mapper) { _kudoService = kudoService ?? throw new ArgumentNullException($"{nameof(kudoService)}"); _mapper = mapper ?? throw new ArgumentNullException($"{nameof(mapper)}"); }
/// <summary> /// Inject Kudo service /// </summary> /// <returns></returns> public KudoController(IKudoService kudoService) { _kudoService = kudoService ?? throw new ArgumentNullException($"{nameof(kudoService)}"); }
public ListUserKudosQueryHandler(IKudoService kudoService) { this.kudoService = kudoService; }
public KudoMapper(IKudoService kudoService, IKudoCategoryService kudoCategoryService, IUserService userService) { this.kudoService = kudoService; this.kudoCategoyService = kudoCategoryService; this.userService = userService; }
public ListTopUsersQueryHandler(IKudoService kudoService) { this.kudoService = kudoService; }
public HelpKudoQueryHandler(IKudoService kudoService) { this.kudoService = kudoService; }
public AccountController(IConfiguration configuration, IKudoService kudoService) { Configuration = configuration ?? throw new ArgumentNullException($"{nameof(configuration)}"); _kudoService = kudoService ?? throw new ArgumentNullException($"{nameof(kudoService)}"); }
public HelpKudoCommandHandler(IKudoService kudoService) { this.kudoService = kudoService; }