public FavoritesController(ConduitContext context, ICurrentUserAccessor currentUserAccessor)
 {
     this.context             = context ?? throw new System.ArgumentNullException(nameof(context));
     this.currentUserAccessor = currentUserAccessor ?? throw new System.ArgumentNullException(nameof(currentUserAccessor));
 }
示例#2
0
 public AccommodationInviteServiceImpl(IUnitOfWork unitOfWork, IEmailService emailService, ICurrentUserAccessor currentUserAccessor) :
     base(unitOfWork, currentUserAccessor) => EmailService = emailService;
示例#3
0
 public Handler(ICleanDbContext context, ICurrentUserAccessor user)
 {
     _context = context;
     _user    = user;
 }
示例#4
0
 public UserController(IMediator mediator, ICurrentUserAccessor currentUserAccessor)
 {
     _mediator            = mediator;
     _currentUserAccessor = currentUserAccessor;
 }
 public QueryHandler(ConduitContext context, ICurrentUserAccessor currentUserAccessor, IProfileReader profileReader)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _profileReader       = profileReader;
 }
 public UpdateOrganizationInfoService(IUpdateOrganizationInfoRepository repo,
                                      ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
示例#7
0
 public CreateLectureService(ILectureCreatorFactory factory, ICreateLectureRepository repo, ICurrentUserAccessor currentUserAccessor)
 {
     _factory             = factory;
     _repo                = repo;
     _currentUserAccessor = currentUserAccessor;
 }
示例#8
0
 public DictionaryController(IDictionaryService dictionaryService, DictionaryDbContext dictionaryDbContext, ICurrentUserAccessor currentUserAccessor)
 {
     _dictionaryService   = dictionaryService;
     _dictionaryDbContext = dictionaryDbContext;
     _currentUserAccessor = currentUserAccessor;
 }
示例#9
0
文件: ListAll.cs 项目: yminhua/Bloggy
 public Handler(BloggyContext context, ICurrentUserAccessor currentUserAccessor, IMapper mapper)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _mapper = mapper;
 }
示例#10
0
 public CategoriesController(ICategoryRepository categoryRepository, ICurrentUserAccessor currentUserAccessor)
 {
     _categoryRepository  = categoryRepository;
     _currentUserAccessor = currentUserAccessor;
 }
示例#11
0
 public ProjectService(IUnitOfWork unitOfWork, ICurrentUserAccessor currentUserAccessor) : base(unitOfWork, currentUserAccessor)
 {
 }
示例#12
0
 public GetCourseContentService(IGetCourseContentRepository repo, ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
 public GetCourseLearningPathsService(IGetCourseLearningPathsRepository repo,
                                      ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
示例#14
0
 public WorksController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, ICurrentUserAccessor currentUserAccessor)
 {
     this.context             = context;
     this.userManager         = userManager;
     this.currentUserAccessor = currentUserAccessor;
 }
示例#15
0
 public Handler(ICurrentUserAccessor currentUserAccessor, RecipesDbContext context, IMapper mapper)
 {
     this.currentUserAccessor = currentUserAccessor;
     this.context             = context;
     this.mapper = mapper;
 }
示例#16
0
 public GameController(IUserService userService, ICurrentUserAccessor currentUserAccessor, IRoomStorage roomStorage)
 {
     _userService         = userService;
     _currentUserAccessor = currentUserAccessor;
     _roomStorage         = roomStorage;
 }
示例#17
0
 public QueryHandler(IMapper mapper, SampleExamContext context, ICurrentUserAccessor currentUserAccessor)
 {
     this.mapper = mapper;
     this.context = context;
     this.currentUserAccessor = currentUserAccessor;
 }
 public SamplesRepository(ApplicationDbContext dbContext, ICurrentUserAccessor currentUserAccessor)
     : base(dbContext, currentUserAccessor)
 {
 }
 public Handler(ConduitContext db, ICurrentUserAccessor currentUserAccessor)
 {
     _db = db;
     _currentUserAccessor = currentUserAccessor;
 }
 public OrganizationSubscriptionManager(IOrganizationSubscriptionRepository repo,
                                        ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
 public ProfileReader(RealWorldContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
 public GetNotificationTemplatesService(IGetNotificationTemplatesRepository repo,
                                        ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
示例#23
0
 public CreateModuleService(ICreateModuleRepository repo, ICurrentUserAccessor currentUserAccessor)
 {
     _repo = repo;
     _currentUserAccessor = currentUserAccessor;
 }
 public FieldSetupServiceImpl(IUnitOfWork unitOfWork, ICurrentUserAccessor currentUserAccessor) : base(unitOfWork, currentUserAccessor)
 {
 }
示例#25
0
 public QueryHandler(Domain.ScanStoreContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
 public QueryHandler(ConduitContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
示例#27
0
 public Handler(ApplicationDbContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
示例#28
0
 public UpdateCurrentUserPasswordService(IUserManager userManager, ICurrentUserAccessor currentUserAccessor)
 {
     _userManager         = userManager;
     _currentUserAccessor = currentUserAccessor;
 }
 public Handler(RealWorldContext db, ICurrentUserAccessor currentUserAccessor)
 {
     _db = db;
     _currentUserAccessor = currentUserAccessor;
 }
示例#30
0
 public Handler(ApplicationDbContext context, ICurrentUserAccessor currentUserAccessor, IProfileReader profileReader)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _profileReader       = profileReader;
 }