コード例 #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));
 }
コード例 #2
0
 public UnregisteredController(IGuestContext ctx, ILogger <UnregisteredController> logger, IMapper mapper)
 {
     _mapper = mapper;
     _logger = logger;
     _ctx    = ctx;
 }
コード例 #3
0
ファイル: GuestLogic.cs プロジェクト: jackdonders/ICT4Events
 public GuestLogic(IGuestContext context)
 {
     _context = context;
 }
コード例 #4
0
ファイル: MaterialLogic.cs プロジェクト: djdino56/ICT4Events
 public MaterialLogic(IMaterialContext context)
 {
     _contextGuest        = new GuestOracleContext();
     _contextMaterial     = context;
     _contextMaterialType = new MaterialTypeOracleContext();
 }
コード例 #5
0
ファイル: MaterialLogic.cs プロジェクト: djdino56/ICT4Events
 public MaterialLogic()
 {
     _contextGuest        = new GuestOracleContext();
     _contextMaterial     = new MaterialOracleContext();
     _contextMaterialType = new MaterialTypeOracleContext();
 }
コード例 #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));
 }
コード例 #7
0
 public GuestLogic(IGuestContext context)
 {
     _context = context;
 }
コード例 #8
0
 public MaterialLogic(IMaterialContext context)
 {
     _contextGuest = new GuestOracleContext();
     _contextMaterial = context;
     _contextMaterialType = new MaterialTypeOracleContext();
 }
コード例 #9
0
 public MaterialLogic()
 {
     _contextGuest = new GuestOracleContext();
     _contextMaterial = new MaterialOracleContext();
     _contextMaterialType = new MaterialTypeOracleContext();
 }