예제 #1
0
 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());
 }
예제 #2
0
 public GetBoardsHostedService(
     GetBoardsOptions options,
     IGetEntitiesRequestHandler <GetBoardModel, BoardInclusionConfiguration> requestAggreg
     )
 {
     _options       = options;
     _requestAggreg = requestAggreg;
 }