Search Results for

    Show / Hide Table of Contents
    View Source

    Class AllMessageTemplateLogViewerController

    Inheritance
    System.Object
    ManagementApiControllerBase
    LogViewerControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.LogViewer
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class AllMessageTemplateLogViewerController : LogViewerControllerBase

    Constructors

    View Source

    AllMessageTemplateLogViewerController(ILogViewerService, IUmbracoMapper)

    Declaration
    public AllMessageTemplateLogViewerController(ILogViewerService logViewerService, IUmbracoMapper umbracoMapper)
    Parameters
    Type Name Description
    ILogViewerService logViewerService
    IUmbracoMapper umbracoMapper

    Methods

    View Source

    AllMessageTemplates(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
    CancellationToken cancellationToken
    System.Int32 skip

    The amount of items to skip.

    System.Int32 take

    The amount of items to take.

    System.Nullable<DateTimeOffset> startDate

    The start date for the date range (can be null).

    System.Nullable<DateTimeOffset> endDate

    The end date for the date range (can be null).

    Returns
    Type Description
    Task<IActionResult>

    The paged result of the log message templates from the given time period.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • AllMessageTemplateLogViewerController(ILogViewerService, IUmbracoMapper)
    • Methods
      • AllMessageTemplates(CancellationToken, Int32, Int32, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX