예제 #1
0
        public POSController(IPOSService posService, IMapper mapper)
        {
            if (posService == null)
            {
                throw new ArgumentNullException(nameof(posService));
            }

            if (mapper == null)
            {
                throw new ArgumentNullException(nameof(mapper));
            }

            this.mapper     = mapper;
            this.posService = posService;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="POSParameterCategoryController"/> class.
 /// </summary>
 /// <param name="posService">The POS service.</param>
 /// <param name="logger">The logger.</param>
 public POSParameterCategoryController(IPOSService posService, ILoggerExtension logger)
 {
     this.posService = posService;
     this.logger     = logger;
 }
예제 #3
0
 public POSController(IPOSService posService, IMapper mapper)
 {
     this.mapper     = mapper;
     this.posService = posService;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="POSController"/> class.
 /// </summary>
 /// <param name="posService">The POS service.</param>
 /// <param name="logger">The logger.</param>
 public POSController(IPOSService posService, ILoggerExtension logger)
 {
     this.posService = posService;
     this.logger     = logger;
 }
예제 #5
0
 public POSTerminalAPI(IPOSService service)
 {
     _service = service;
 }