Class ModuleAppErrorList
Module that exposes application error data for a section, providing notification counts based on logged errors.
Inherited Members
Namespace: DataWeb.Structure.Modules
Assembly: DataWeb.Core.dll
Syntax
public class ModuleAppErrorList : Module
Constructors
ModuleAppErrorList(Section, NavigationContext, IServiceProvider)
Module that exposes application error data for a section, providing notification counts based on logged errors.
Declaration
public ModuleAppErrorList(Section section, NavigationContext navigationContext, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Section | section | |
| NavigationContext | navigationContext | |
| IServiceProvider | serviceProvider |
Methods
GetSectionNotificationCountAsync(CancellationToken)
Returns the total number of application errors as the section notification count.
Declaration
public override Task<long> GetSectionNotificationCountAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Token to cancel the asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task<long> | The total count of application errors. |