public VotesController(IPollRepository PollRepository, IUserIdentityService UserIdentityService, IUserRepository UserRepository, IVoteRepository VoteRepository, ICategoryRepository CategoryRepository) { if (PollRepository == null) { throw new ArgumentNullException("CategoryRepository"); } if (UserIdentityService == null) { throw new ArgumentNullException("UserIdentityService"); } if (UserRepository == null) { throw new ArgumentNullException("UserIdentityService"); } if (VoteRepository == null) { throw new ArgumentNullException("VoteRepository"); } if (CategoryRepository == null) { throw new ArgumentNullException("CategoryRepository"); } this.pollRepository = PollRepository; this.userService = UserIdentityService; this.userRepository = UserRepository; this.voteRepository = VoteRepository; this.categoryRepository = CategoryRepository; }
public PollsApiController(IPollRepository PollRepository, ICategoryRepository CategoryRepository, IFrequencyRepository FrequencyRepository, IUserIdentityService UserIdentityService, IUserRepository UserRepository) { if (PollRepository == null) { throw new ArgumentNullException("CategoryRepository"); } if (CategoryRepository == null) { throw new ArgumentNullException("CategoryRepository"); } if (FrequencyRepository == null) { throw new ArgumentNullException("CategoryRepository"); } if (UserIdentityService == null) { throw new ArgumentNullException("UserIdentityService"); } if (UserRepository == null) { throw new ArgumentNullException("UserIdentityService"); } this.pollRepository = PollRepository; this.categoryRepository = CategoryRepository; this.frequencyRepository = FrequencyRepository; this.userService = UserIdentityService; this.userRepository = UserRepository; }
public RavenController(IUserIdentityService userIdentityService) { if (userIdentityService == null) { throw new ArgumentNullException("userIdentityService"); } this.UserIdentityService = userIdentityService; }
public RequireAdminAttribute(IUserIdentityService UserIdentityService, IUserService UserService) { if (UserIdentityService == null) { throw new ArgumentNullException("UserIdentityService"); } if (UserService == null) { throw new ArgumentNullException("UserService"); } this.userIdentityService = UserIdentityService; this.userService = UserService; }
public AdminController(IUserIdentityService userIdentityService) : base(userIdentityService) { }
public ProfileModel(IUserIdentityService identityService, IGetCurrentAppointmentsForUserQuery getAppointmentsQuery) { this.identityService = identityService; this.getAppointmentsQuery = getAppointmentsQuery; }
public LinCmsResourceOwnerPasswordValidator(IUserIdentityService userIdentityService, UserRepository userRepository) { _userIdentityService = userIdentityService; _userRepository = userRepository; }
public UserIdentityController(IUserIdentityService userIdentityService, IUsersService usersService, ILogger <UserIdentityController> logger) { _userIdentityService = userIdentityService; _usersService = usersService; _logger = logger; }
public Oauth2Controller(IHttpContextAccessor contextAccessor, IConfiguration configuration, IFreeSql freeSql, IUserIdentityService userCommunityService, ILogger <Oauth2Controller> logger) { _contextAccessor = contextAccessor; _configuration = configuration; _freeSql = freeSql; _userCommunityService = userCommunityService; _logger = logger; }
public EventBusCommandHandlerMediator(EventBusService eventBusService, IUserIdentityService userIdentityService) { _eventBusService = eventBusService; _userIdentityService = userIdentityService; }
public TimerHandlersController(ApplicationDbContext context, IUserIdentityService identityService) :base(context) { _context = context; _identityService = identityService; }
/// <summary> /// Creates an instance of UserController. /// </summary> public UserController(IUserService userService, IRoleService roleService, ITaskService taskService, IUserIdentityService userIdentityService, ITraceWriter tracer) { this.userService = userService; this.roleService = roleService; this.taskService = taskService; this.userIdentityService = userIdentityService; this.tracer = tracer; }
public Handler(ILocationRepository repository, IUserIdentityService userIdentityService, ISellerRepository sellerRepository) { this._repository = repository; this._userIdentityService = userIdentityService; this._sellerRepository = sellerRepository; }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="userIdentityService"></param> public AccountApiController(IMapper mapper, IUserIdentityService userIdentityService) : base(mapper, userIdentityService) { }
public Handler(IAdditionalServiceRepository repository, IUserIdentityService userIdentityService) { this._repository = repository; this._userIdentityService = userIdentityService; }
public AccountController(IUserRepository userRepository, IUserIdentityService userIdentityService, IIdentityServerInteractionService interaction) { this.userRepository = userRepository; this.userIdentityService = userIdentityService; _interaction = interaction; }
public ProfileService(IUserIdentityService userIdentityService, UserManager <User> userManager) { _userIdentityService = userIdentityService; _userManager = userManager; }
public IdentityController(IUserIdentityService userIdentityService, IIdentityService identityService) { _userIdentityService = userIdentityService; _identityService = identityService; }
public AccountController(IUserIdentityService userIdentityService) : base(userIdentityService) { }
public JwtTokenService(IUserRepository userRepository, ILogger <JwtTokenService> logger, IUserIdentityService userIdentityService, IJsonWebTokenService jsonWebTokenService) { _userRepository = userRepository; _logger = logger; _userIdentityService = userIdentityService; _jsonWebTokenService = jsonWebTokenService; }
public Handler(ICollectionGroupRepository repository, IMapper mapper, IUserIdentityService userIdentityService) { this._repository = repository; this._mapper = mapper; this._userIdentityService = userIdentityService; }
public JwtTokenService(IUserRepository userRepository, ILogger <JwtTokenService> logger, IUserIdentityService userIdentityService, IJsonWebTokenService jsonWebTokenService, IServiceProvider serviceProvider) { _userRepository = userRepository; _logger = logger; _userIdentityService = userIdentityService; _jsonWebTokenService = jsonWebTokenService; this.serviceProvider = serviceProvider; }
public Handler(IAppSettingRepository repository, IUserIdentityService userIdentityService) { this._repository = repository; this._userIdentityService = userIdentityService; }
public UserController(IUserIdentityService userIdentityService) { _userIdentityService = userIdentityService; }
public RequireRoleAttribute(Role Role) { this.userIdentityService = ServiceLocator.GetService<IUserIdentityService>(); this.userService = ServiceLocator.GetService<IUserService>(); this.role = Role; }
public Handler(ITransactionRepository repository, IMapper mapper, IUserIdentityService userIdentityService) { this._repository = repository; this._mapper = mapper; this._userIdentityService = userIdentityService; }
public Oauth2Controller(IHttpContextAccessor contextAccessor, IConfiguration configuration, IUserIdentityService userCommunityService, ILogger <Oauth2Controller> logger, IUserRepository userRepository) { _contextAccessor = contextAccessor; _configuration = configuration; _userCommunityService = userCommunityService; _logger = logger; _userRepository = userRepository; }
public UserController(IMapper mapper, IUserIdentityService userIdentityService) { this.mapper = mapper; this.userIdentityService = userIdentityService; }
public VerifyModel(IUserVerificationService verificationService, IUserIdentityService identityService) { this.verificationService = verificationService; this.identityService = identityService; }
public Handler(ICollectionRepository repository, IUserIdentityService userIdentityService) { this._repository = repository; this._userIdentityService = userIdentityService; }
public PortalDbContext(DbContextOptions <PortalDbContext> options, IUserIdentityService userIdentityService) : base(options) { _userIdentityService = userIdentityService; }
public Handler(ISaleOrderRepository repository, IMapper mapper, IUserIdentityService userIdentityService) { this._repository = repository; this._mapper = mapper; this._userIdentityService = userIdentityService; }
/// <summary> /// Creates an instance of UserController. /// </summary> public UserController(IGroupService groupService, IUserService userService, IRoleService roleService, ITaskService taskService, IUserIdentityService userIdentityService, IHttpContextAccessor accessor, UserManager <User> userManager, RoleManager <Role> roleManager, ILoggerFactory loggerFactory) { this.groupService = groupService; this.userService = userService; this.roleService = roleService; this.taskService = taskService; this.userIdentityService = userIdentityService; this._accessor = accessor; this.userManager = userManager; this.roleManager = roleManager; loggerFactory.AddFile(Path.Combine(Directory.GetCurrentDirectory(), Constants.Logger.logFileName)); logger = loggerFactory.CreateLogger("FileLogger"); }
public Handler(IBrandRepository repository, IUserIdentityService userIdentityService) { this._repository = repository; this._userIdentityService = userIdentityService; }
/// <summary> /// Auth controller constructor /// </summary> /// <param name="userIdentityService"></param> /// <param name="tokenService"></param> public AuthController(IUserIdentityService userIdentityService, ITokenService tokenService) { _userIdentityService = userIdentityService; _tokenService = tokenService; }
public AppSettingComponent(IAppSettingRepository appSettingRepository, IUserIdentityService identityService) { this._appSettingRepository = appSettingRepository; this._identityService = identityService; }
public BankingController(IBankingService service, IUserIdentityService identityService) { _bankingService = service; _userIdentityService = identityService; }
public IdentityController(IUserIdentityService userIdentityService, ApplicationDbContext context) { _userIdentityService = userIdentityService; _context = context; }
/// <summary> Services initiation </summary> public TaskController(ITaskService taskService, IMessageService messageService, IUserIdentityService userIdentityService, ITraceWriter tracer) { this.taskService = taskService; this.messageService = messageService; this.userIdentityService = userIdentityService; this.tracer = tracer; }