Class AllMessageTemplateLogViewerController
Namespace: Umbraco.Cms.Api.Management.Controllers.LogViewer
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class AllMessageTemplateLogViewerController : LogViewerControllerBase
Constructors
View SourceAllMessageTemplateLogViewerController(ILogViewerService, IUmbracoMapper)
Declaration
public AllMessageTemplateLogViewerController(ILogViewerService logViewerService, IUmbracoMapper umbracoMapper)
Parameters
Type | Name | Description |
---|---|---|
ILog |
logViewerService | |
IUmbraco |
umbracoMapper |
Methods
View SourceAllMessageTemplates(CancellationToken, Int32, Int32, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Gets a paginated list of all log message templates for a specific date range.
Declaration
public async Task<IActionResult> AllMessageTemplates(CancellationToken cancellationToken, int skip = 0, int take = 100, DateTimeOffset? startDate = null, DateTimeOffset? endDate = null)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | |
System. |
skip | The amount of items to skip. |
System. |
take | The amount of items to take. |
System. |
startDate | The start date for the date range (can be null). |
System. |
endDate | The end date for the date range (can be null). |
Returns
Type | Description |
---|---|
Task<IAction |
The paged result of the log message templates from the given time period. |