Show / Hide Table of Contents

Class WidgetManager

Inheritance
System.Object
WidgetManager
Implements
IWidgetManager
ITransientDependency
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

IWidgetManager
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, 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