public GetPublicUsersRequest(GetPublicUsersOptions opts) { CreateVerbosityCommand = () => new SetVerbosityCommand(opts); CreateGetEntitiesByIdsQuery = () => new GetPublicUsersByIdsQuery(opts, opts); CreateLogEntityPageCommand = articlePage => new LogPublicUserPageCommand(articlePage, opts, opts.ToInclusionConfiguration()); CreateWriteEntityPageCommand = articlePage => new WritePublicUserPageCommand(articlePage, opts, opts.ToInclusionConfiguration()); }
public GetCommentsRequest(GetCommentsOptions opts) { CreateVerbosityCommand = () => new SetVerbosityCommand(opts); CreateGetEntitiesByIdsQuery = () => new GetCommentsByIdsQuery(opts, opts); CreateLogEntityPageCommand = commentPage => new LogCommentPageCommand(commentPage, opts, opts.ToInclusionConfiguration()); CreateWriteEntityPageCommand = commentPage => new WriteCommentPageCommand(commentPage, opts, opts.ToInclusionConfiguration()); }
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()); }