public PositionContextModificationNotifyingServiceDecorator(
     IPositionService posService,
     IMapper mapper,
     SchoolContext context,
     ISchoolHub hub)
     : base(posService, context, hub, MethodName)
 {
     _mapper     = mapper;
     _posService = posService;
 }
 public EmployeeContextModificationNotifyingServiceDecorator(
     IEmployeeService empService,
     IMapper mapper,
     SchoolContext context,
     ISchoolHub hub)
     : base(empService, context, hub, MethodName)
 {
     _mapper     = mapper;
     _empService = empService;
 }
 public SubjectContextModificationNotifyingServiceDecorator(
     ISubjectService sbjService,
     IMapper mapper,
     SchoolContext context,
     ISchoolHub hub)
     : base(sbjService, context, hub, MethodName)
 {
     _mapper     = mapper;
     _sbjService = sbjService;
 }
Example #4
0
 public CommonServiceContextModificationNotifyingDecorator(
     TDecoratedService decoratedService,
     SchoolContext context,
     ISchoolHub hub,
     string methodName)
 {
     _decoratedService = decoratedService;
     _context          = context;
     _hub = hub;
     _hub.Initialize(methodName);
 }