Show / Hide Table of Contents

Class RatingViewComponent

Inheritance
object
ViewComponent
AbpViewComponent
RatingViewComponent
Inherited Members
AbpViewComponent.LazyServiceProvider
AbpViewComponent.ServiceProvider
AbpViewComponent.ObjectMapperContext
AbpViewComponent.ObjectMapper
ViewComponent.Content(string)
ViewComponent.View()
ViewComponent.View(string)
ViewComponent.View<TModel>(TModel)
ViewComponent.View<TModel>(string, TModel)
ViewComponent.HttpContext
ViewComponent.Request
ViewComponent.User
ViewComponent.UserClaimsPrincipal
ViewComponent.RouteData
ViewComponent.ViewBag
ViewComponent.ModelState
ViewComponent.Url
ViewComponent.ViewComponentContext
ViewComponent.ViewContext
ViewComponent.ViewData
ViewComponent.TempData
ViewComponent.ViewEngine
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Rating
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
Type Name Description
IRatingPublicAppService ratingPublicAppService
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, bool)

Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string entityType, string entityId, bool isReadOnly = false)
Parameters
Type Name Description
string entityType
string entityId
bool isReadOnly
Returns
Type Description
Task<IViewComponentResult>

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform