public CharacterWriteRepository(
     Task <Container> container,
     ICosmosEntityMutator <CharacterEntity> entityMutator,
     ICharacterReadRepository readRepository
     )
 {
     _container      = container;
     _entityMutator  = entityMutator;
     _readRepository = readRepository;
 }
示例#2
0
 public CharacterService(
     ICharacterReadRepository readRepository,
     ICharacterWriteRepository writeRepository,
     IDowntimeReadRepository downtimeReadRepository,
     IDowntimeWriteRepository downtimeWriteRepository
     )
 {
     _readRepository          = readRepository;
     _writeRepository         = writeRepository;
     _downtimeReadRepository  = downtimeReadRepository;
     _downtimeWriteRepository = downtimeWriteRepository;
 }
 public DowntimeWriteRepository(
     Task <Container> container,
     ICosmosEntityMutator <DowntimeEntity> entityMutator,
     IDowntimeReadRepository readRepository,
     IActivityReadRepository activityReadRepository,
     ICharacterReadRepository characterReadRepository,
     ICharacterWriteRepository characterWriteRepository
     )
 {
     _container                = container;
     _entityMutator            = entityMutator;
     _readRepository           = readRepository;
     _activityReadRepository   = activityReadRepository;
     _characterReadRepository  = characterReadRepository;
     _characterWriteRepository = characterWriteRepository;
 }