Show / Hide Table of Contents

Class WidgetManager

Inheritance
object
WidgetManager
Implements
IWidgetManager
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Widgets
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Widgets.dll
Syntax
public class WidgetManager : IWidgetManager, ITransientDependency

Constructors

WidgetManager(IOptions<AbpWidgetOptions>, IAuthorizationService, ICurrentUser)

Declaration
public WidgetManager(IOptions<AbpWidgetOptions> widgetOptions, IAuthorizationService authorizationService, ICurrentUser currentUser)
Parameters
Type Name Description
IOptions<AbpWidgetOptions> widgetOptions
IAuthorizationService authorizationService
ICurrentUser currentUser

Properties

AuthorizationService

Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
IAuthorizationService

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

Options

Declaration
protected AbpWidgetOptions Options { get; }
Property Value
Type Description
AbpWidgetOptions

Methods

IsGrantedAsync(string)

Declaration
public Task<bool> IsGrantedAsync(string name)
Parameters
Type Name Description
string name
Returns
Type Description
Task<bool>

IsGrantedAsync(Type)

Declaration
public Task<bool> IsGrantedAsync(Type widgetComponentType)
Parameters
Type Name Description
Type widgetComponentType
Returns
Type Description
Task<bool>

Implements

IWidgetManager
ITransientDependency

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