コード例 #1
0
ファイル: SearchService.cs プロジェクト: muralidhar25/rpg-dev
 public SearchService(ApplicationDbContext context, IRepository <Character> repo
                      , ICharacterSpellService characterSpellService, ICharacterAbilityService characterAbilityService, IItemService itemService)
 {
     _context = context;
     _repo    = repo;
     _characterSpellService   = characterSpellService;
     _characterAbilityService = characterAbilityService;
     _itemService             = itemService;
 }
コード例 #2
0
 public CharacterService(ApplicationDbContext context, IRepository <Character> repo, IConfiguration configuration,
                         ICharacterSpellService characterSpellService, ICharacterAbilityService characterAbilityService, IItemService itemService)
 {
     _context = context;
     _repo    = repo;
     _characterSpellService   = characterSpellService;
     _characterAbilityService = characterAbilityService;
     _itemService             = itemService;
     this._configuration      = configuration;
 }
コード例 #3
0
 public CharacterSpellController(ICharacterSpellService characterSpellService)
 {
     this.characterSpellService = characterSpellService;
 }