public GetBoardsRequest(GetBoardsOptions opts) { CreateVerbosityCommand = () => new SetVerbosityCommand(opts); CreateGetEntitiesByIdsQuery = () => new GetBoardsByIdsQuery(opts, opts); CreateLogEntityPageCommand = boardPage => new LogBoardPageCommand(boardPage, opts, opts.ToInclusionConfiguration()); CreateWriteEntityPageCommand = boardPage => new WriteBoardPageCommand(boardPage, opts, opts.ToInclusionConfiguration()); }
public GetBoardsHostedService( GetBoardsOptions options, IGetEntitiesRequestHandler <GetBoardModel, BoardInclusionConfiguration> requestAggreg ) { _options = options; _requestAggreg = requestAggreg; }