Class RatingViewComponent
Inheritance
System.Object
RatingViewComponent
Assembly: Volo.CmsKit.Public.Web.dll
Syntax
[ViewComponent(Name = "CmsRating")]
public class RatingViewComponent : AbpViewComponent
Constructors
RatingViewComponent(IRatingPublicAppService, IOptions<AbpMvcUiOptions>, ICurrentUser)
Declaration
public RatingViewComponent(IRatingPublicAppService ratingPublicAppService, IOptions<AbpMvcUiOptions> options, ICurrentUser currentUser)
Parameters
| Type |
Name |
Description |
| IRatingPublicAppService |
ratingPublicAppService |
|
| Microsoft.Extensions.Options.IOptions<AbpMvcUiOptions> |
options |
|
| ICurrentUser |
currentUser |
|
Properties
AbpMvcUiOptions
Declaration
public AbpMvcUiOptions AbpMvcUiOptions { get; }
Property Value
| Type |
Description |
| AbpMvcUiOptions |
|
CurrentUser
Declaration
public ICurrentUser CurrentUser { get; }
Property Value
| Type |
Description |
| ICurrentUser |
|
RatingPublicAppService
Declaration
public IRatingPublicAppService RatingPublicAppService { get; }
Property Value
| Type |
Description |
| IRatingPublicAppService |
|
Methods
InvokeAsync(String, String)
Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string entityType, string entityId)
Parameters
| Type |
Name |
Description |
| System.String |
entityType |
|
| System.String |
entityId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IViewComponentResult> |
|
Extension Methods