Exemplo n.º 1
0
 public AvatarController(ILogger <AvatarController> logger, IAvatarContext ctx, IGuestContext guestContext, IMapper mapper, IHttpContextAccessor httpContextAccessor, IConfiguration config)
 {
     _config = config;
     _httpContextAccessor = httpContextAccessor ?? throw new ArgumentException(nameof(httpContextAccessor));
     _ctx          = ctx ?? throw new ArgumentException(nameof(ctx));
     _guestContext = guestContext ?? throw new ArgumentNullException(nameof(guestContext));
     _mapper       = mapper ?? throw new ArgumentException(nameof(mapper));
     _logger       = logger ?? throw new ArgumentException(nameof(logger));
 }
Exemplo n.º 2
0
 public UnregisteredController(IGuestContext ctx, ILogger <UnregisteredController> logger, IMapper mapper)
 {
     _mapper = mapper;
     _logger = logger;
     _ctx    = ctx;
 }
Exemplo n.º 3
0
 public GuestLogic(IGuestContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public MaterialLogic(IMaterialContext context)
 {
     _contextGuest        = new GuestOracleContext();
     _contextMaterial     = context;
     _contextMaterialType = new MaterialTypeOracleContext();
 }
Exemplo n.º 5
0
 public MaterialLogic()
 {
     _contextGuest        = new GuestOracleContext();
     _contextMaterial     = new MaterialOracleContext();
     _contextMaterialType = new MaterialTypeOracleContext();
 }
Exemplo n.º 6
0
 public GuestController(ILogger <GuestEntity> logger, IGuestContext ctx, IMapper mapper)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _ctx    = ctx ?? throw new ArgumentNullException(nameof(ctx));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemplo n.º 7
0
 public GuestLogic(IGuestContext context)
 {
     _context = context;
 }
Exemplo n.º 8
0
 public MaterialLogic(IMaterialContext context)
 {
     _contextGuest = new GuestOracleContext();
     _contextMaterial = context;
     _contextMaterialType = new MaterialTypeOracleContext();
 }
Exemplo n.º 9
0
 public MaterialLogic()
 {
     _contextGuest = new GuestOracleContext();
     _contextMaterial = new MaterialOracleContext();
     _contextMaterialType = new MaterialTypeOracleContext();
 }