Class RatingViewComponent
Inheritance
RatingViewComponent
Assembly: Volo.CmsKit.Public.Web.dll
Syntax
[ViewComponent(Name = "CmsRating")]
[Widget(StyleTypes = new Type[] { typeof(RatingStyleBundleContributor) }, ScriptTypes = new Type[] { typeof(RatingScriptBundleContributor) }, RefreshUrl = "/CmsKitPublicWidgets/Rating", AutoInitialize = true)]
public class RatingViewComponent : AbpViewComponent
Constructors
RatingViewComponent(IRatingPublicAppService, IOptions<AbpMvcUiOptions>, ICurrentUser)
Declaration
public RatingViewComponent(IRatingPublicAppService ratingPublicAppService, IOptions<AbpMvcUiOptions> options, ICurrentUser currentUser)
Parameters
Properties
AbpMvcUiOptions
Declaration
public AbpMvcUiOptions AbpMvcUiOptions { get; }
Property Value
CurrentUser
Declaration
public ICurrentUser CurrentUser { get; }
Property Value
RatingPublicAppService
Declaration
public IRatingPublicAppService RatingPublicAppService { get; }
Property Value
Methods
InvokeAsync(string, string, bool)
Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string entityType, string entityId, bool isReadOnly = false)
Parameters
Returns
Extension Methods