Class PageWidgetManager
Inheritance
System.Object
PageWidgetManager
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 PageWidgetManager : IPageWidgetManager, IScopedDependency
Constructors
PageWidgetManager(IHttpContextAccessor)
Declaration
public PageWidgetManager(IHttpContextAccessor httpContextAccessor)
Parameters
Type | Name | Description |
---|---|---|
IHttpContextAccessor | httpContextAccessor |
Fields
HttpContextItemName
Declaration
public const string HttpContextItemName = "__AbpCurrentWidgets"
Field Value
Type | Description |
---|---|
System.String |
Methods
GetAll()
Declaration
public IReadOnlyList<WidgetDefinition> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<WidgetDefinition> |
TryAdd(WidgetDefinition)
Declaration
public bool TryAdd(WidgetDefinition widget)
Parameters
Type | Name | Description |
---|---|---|
WidgetDefinition | widget |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
IScopedDependency