Esempio n. 1
0
 public GetCommentRequest(GetCommentByIdOptions opts)
 {
     CreateVerbosityCommand   = () => new SetVerbosityCommand(opts);
     CreateGetEntityQuery     = () => new GetCommentByIdQuery(opts);
     CreateLogEntityCommand   = article => new LogCommentCommand(article, opts, opts.ToInclusionConfiguration());
     CreateWriteEntityCommand = article => new WriteCommentCommand(article, opts, opts.ToInclusionConfiguration());
 }
 public GetCommentByIdHostedService(
     GetCommentByIdOptions options,
     IGetEntityRequestHandler <GetCommentModel, CommentInclusionConfiguration> getRequestAggreg
     )
 {
     _options        = options;
     _requestHandler = getRequestAggreg;
 }