public MemoDownloadController(IMemoRepository repository, IMemoFileStorageManager fileStorageManager) { _repository = repository; _fileStorageManager = fileStorageManager; }
public MemoManagerV2(IMemoRepository repository, INewIdGenerator newIdGenerator, ITextStatisticsCalculator textStatisticsCalculator) { _repository = repository; _newIdGenerator = newIdGenerator; _textStatisticsCalculator = textStatisticsCalculator; }
public MemoService(IMemoRepository memoRepository) { _memoRepository = memoRepository; }
/// <summary> /// コンストラクタ /// </summary> public MemoDataAgent(IMemoRepository memoRepository) { this.repository = memoRepository; MemoCount = memoRepository.GetMemos().Count; }
public MemoService(IMemoRepository memoRepository, IMapper mapper) { _memoRepository = memoRepository; _mapper = mapper; }
public MemosController(IMemoRepository repository, ILoggerFactory loggerFactory) { this._repository = repository ?? throw new ArgumentNullException(nameof(MemosController)); this._logger = loggerFactory.CreateLogger(nameof(MemosController)); }
public MemoService(IMemoRepository repository, IUserService userService) { _repository = repository; _userService = userService; }