public SceneHandler(ISceneRepository sceneRepository, IProjectPartitionKeyGenerator partitionKeyGenerator, ISceneQueryRepository sceneQueryRepository)
 {
     _sceneRepository      = sceneRepository;
     _sceneQueryRepository = sceneQueryRepository;
     _mapper = new SceneMapper(partitionKeyGenerator);
     _createSceneCommandValidator     = new CreateSceneCommandValidator();
     _updateSceneCommandValidator     = new UpdateSceneCommandValidator();
     _deleteByIdCommandValidator      = new DeleteByIdCommandValidator();
     _getListByParentIdQueryValidator = new GetListByParentIdQueryValidator();
 }
예제 #2
0
 public SceneFileRepository(IFileReader loader, SceneMapper mapper) : base(loader, mapper)
 {
 }