Class WidgetManager
Inheritance
WidgetManager
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Widgets.dll
public class WidgetManager : IWidgetManager, ITransientDependency
Constructors
Declaration
public WidgetManager(IOptions<AbpWidgetOptions> widgetOptions, IAuthorizationService authorizationService, ICurrentUser currentUser)
Parameters
Properties
Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Declaration
protected AbpWidgetOptions Options { get; }
Property Value
Methods
Declaration
public Task<bool> IsGrantedAsync(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Declaration
public Task<bool> IsGrantedAsync(Type widgetComponentType)
Parameters
Type |
Name |
Description |
Type |
widgetComponentType |
|
Returns
Implements
Extension Methods