Example #1
0
 public RegisterController(IClaimService claimService, IAdminService adminService, IRegisterService registerService, IChildService childService)
 {
     ClaimService    = claimService;
     AdminService    = adminService;
     RegisterService = registerService;
     ChildService    = childService;
 }
Example #2
0
        public GroupService(IServiceProvider serviceProvider)
        {
            this.unitOfWork   = serviceProvider.GetRequiredService <IUnitOfWork>();
            this.childService = serviceProvider.GetRequiredService <IChildService>();

            this.groupMapperToDb   = new GroupToGroupInDbMapper();
            this.groupMapperFromDb = new GroupInDbNullableToGroupMapper();

            this.ageRuleChecker = new ChildAgeRuleChecker();
            this.maxChildren    = Convert.ToInt32(
                ConfigurationManager.AppSettings["maxAmountOfChildrenInGroup"] ?? "5");
        }
 public ManageController(
     IUsersService users, 
     IChildService children, 
     IGiftService gifts, 
     ICategoryService categories, 
     INeedService needs,
     InMemoryCache cache)
     : base(users)
 {
     this.children = children;
     this.gifts = gifts;
     this.categories = categories;
     this.needs = needs;
     this.cache = cache;
 }
Example #4
0
 public RootService2(IChildService cs)
 {
     this._child = cs;
 }
Example #5
0
 public ChildController(IChildService childService)
 {
     _childService = childService;
 }
 public MemberService(IRepository <Member> repository, IChildService childService) : base(repository)
 {
     _childService = childService;
 }
Example #7
0
 public ChildVmService(IChildService childService, IAppLogger <ChildVmService> appLogger)
 {
     _childService = childService;
     _logger       = appLogger;
 }
Example #8
0
 public AddChildrenHandler(IChildService childService, IMapper mapper)
 {
     _childService = childService;
     _mapper       = mapper;
 }
Example #9
0
 public MainIntegrationEventHandler(ILogger <MainIntegrationEventHandler> logger, IChildService childService)
 {
     _logger       = logger;
     _childService = childService;
 }
 public SuperCoolController(IChildService childService)
 {
     _childService = childService ?? throw new ArgumentNullException(nameof(childService));
 }
 public ChildsController(IUsersService users, IChildService children)
     : base(users)
 {
     this.children = children;
 }
Example #12
0
 public TransformatorController(IChildService childService,
                                ILogger <TransformatorController> logger)
 {
     _childService = childService;
     _logger       = logger;
 }
Example #13
0
 public ParentService([Import] Options options, IChildService secondSender)
 {
     _option = options;
     Console.WriteLine("Parent Service constructed.");
 }
Example #14
0
 public ChildController(IChildService childService)
 {
     _childService = childService;
 }