コード例 #1
0
 public UsersService(
     UsersContext context,
     IUsersIntegrationEventService integrationEventService,
     ITagGeneratorService tagGeneratorService)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService));
     _tagGeneratorService     = tagGeneratorService ?? throw new ArgumentNullException(nameof(tagGeneratorService));
 }
コード例 #2
0
ファイル: NfcService.cs プロジェクト: edfoh/VirtualWallDroid
 public NfcService(ITagGeneratorService tagGeneratorService)
 {
     _tagGeneratorService = tagGeneratorService;
 }