Beispiel #1
0
 public StructureService(OpenLDContext context, IDrawingService drawingService, IViewService viewService, IMapper mapper)
 {
     _context        = context;
     _drawingService = drawingService;
     _viewService    = viewService;
     _mapper         = mapper;
 }
Beispiel #2
0
 public DrawingService(OpenLDContext context, ITemplateService templateService, IViewService viewService, IMapper mapper)
 {
     _context         = context;
     _templateService = templateService;
     _viewService     = viewService;
     _mapper          = mapper;
 }
Beispiel #3
0
 private static StructureService initService(OpenLDContext context)
 {
     return(new StructureService(
                context,
                new DrawingService(
                    context,
                    new TemplateService(context),
                    new ViewService(context),
                    _mapper
                    ),
                new ViewService(context),
                _mapper
                ));
 }
Beispiel #4
0
        private static AuthUtils initUtils(OpenLDContext context)
        {
            ViewService          viewService      = new ViewService(context);
            TemplateService      templateService  = new TemplateService(context);
            LabelService         labelService     = new LabelService(context, viewService, _mapper);
            DrawingService       drawingService   = new DrawingService(context, templateService, viewService, _mapper);
            StructureService     structureService = new StructureService(context, drawingService, viewService, _mapper);
            RiggedFixtureService rFixtureService  = new RiggedFixtureService(context, structureService, _mapper);

            return(new AuthUtils(
                       drawingService,
                       labelService,
                       rFixtureService,
                       structureService,
                       viewService
                       ));
        }
Beispiel #5
0
 private static ViewService initService(OpenLDContext context)
 {
     return(new ViewService(context));
 }
Beispiel #6
0
 public TemplateService(OpenLDContext context)
 {
     _context = context;
 }
Beispiel #7
0
 public FixtureTypeService(OpenLDContext context)
 {
     _context = context;
 }
Beispiel #8
0
 private static FixtureService initService(OpenLDContext context)
 {
     return(new FixtureService(context));
 }
Beispiel #9
0
 private static TemplateService initService(OpenLDContext context)
 {
     return(new TemplateService(context));
 }
Beispiel #10
0
 public UserService(OpenLDContext context)
 {
     _context = context;
 }
Beispiel #11
0
 public RiggedFixtureService(OpenLDContext context, IStructureService structureService, IMapper mapper)
 {
     _context          = context;
     _structureService = structureService;
     _mapper           = mapper;
 }
Beispiel #12
0
 public FixtureController(OpenLDContext context, IFixtureService fixtureService)
 {
     _context        = context;
     _fixtureService = fixtureService;
 }
Beispiel #13
0
 public ViewService(OpenLDContext context)
 {
     _context = context;
 }
Beispiel #14
0
 public LabelService(OpenLDContext context, IViewService viewService, IMapper mapper)
 {
     _context     = context;
     _viewService = viewService;
     _mapper      = mapper;
 }
Beispiel #15
0
 private static UserService initService(OpenLDContext context)
 {
     return(new UserService(context));
 }
Beispiel #16
0
 private static LabelService initService(OpenLDContext context)
 {
     return(new LabelService(context, new ViewService(context), _mapper));
 }