Class CmsKitPublicCommentsController
Inheritance
CmsKitPublicCommentsController
Implements
Inherited Members
Namespace: Volo.CmsKit.Public.Web.Controllers
Assembly: Volo.CmsKit.Public.Web.dll
Syntax
public class CmsKitPublicCommentsController : CmsKitPublicControllerBase, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable, IAvoidDuplicateCrossCuttingConcerns
Constructors
CmsKitPublicCommentsController(ICommentPublicAppService, IOptions<CmsKitCommentOptions>, SimpleMathsCaptchaGenerator)
Declaration
public CmsKitPublicCommentsController(ICommentPublicAppService commentPublicAppService, IOptions<CmsKitCommentOptions> cmsKitCommentOptions, SimpleMathsCaptchaGenerator simpleMathsCaptchaGenerator)
Parameters
| Type | Name | Description |
|---|---|---|
| ICommentPublicAppService | commentPublicAppService | |
| IOptions<CmsKitCommentOptions> | cmsKitCommentOptions | |
| SimpleMathsCaptchaGenerator | simpleMathsCaptchaGenerator |
Properties
CmsKitCommentOptions
Declaration
protected CmsKitCommentOptions CmsKitCommentOptions { get; }
Property Value
| Type | Description |
|---|---|
| CmsKitCommentOptions |
CommentPublicAppService
Declaration
public ICommentPublicAppService CommentPublicAppService { get; }
Property Value
| Type | Description |
|---|---|
| ICommentPublicAppService |
SimpleMathsCaptchaGenerator
Declaration
public SimpleMathsCaptchaGenerator SimpleMathsCaptchaGenerator { get; }
Property Value
| Type | Description |
|---|---|
| SimpleMathsCaptchaGenerator |
Methods
UpdateAsync(Guid, UpdateCommentInput)
Declaration
[HttpPost]
public virtual Task UpdateAsync(Guid id, UpdateCommentInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | |
| UpdateCommentInput | input |
Returns
| Type | Description |
|---|---|
| Task |
ValidateAsync(CreateCommentWithParametersInput)
Declaration
[HttpPost]
public virtual Task ValidateAsync(CreateCommentWithParametersInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCommentWithParametersInput | input |
Returns
| Type | Description |
|---|---|
| Task |