Show / Hide Table of Contents

Class RatingViewComponent

Inheritance
System.Object
RatingViewComponent
Namespace: Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Rating
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

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft