Class WidgetManager
Inheritance
System.Object
WidgetManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
IsGrantedAsync(Type)
Declaration
public Task<bool> IsGrantedAsync(Type widgetComponentType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | widgetComponentType |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Implements
ITransientDependency