Table of Contents

Struct LogEventPage

Namespace
Dynamicweb.Logging.LogEvents
Assembly
Dynamicweb.Core.dll

A page of logevents together with the total number of events matching the query, ignoring paging.

public readonly record struct LogEventPage : IEquatable<LogEventPage>
Implements
Inherited Members

Constructors

LogEventPage(IReadOnlyList<LogEvent>, int)

A page of logevents together with the total number of events matching the query, ignoring paging.

public LogEventPage(IReadOnlyList<LogEvent> Events, int TotalCount)

Parameters

Events IReadOnlyList<LogEvent>

The logevents for the requested page.

TotalCount int

The total number of matching logevents, ignoring any paging (Top/Skip) settings.

Fields

Empty

public static readonly LogEventPage Empty

Field Value

LogEventPage

Properties

Events

The logevents for the requested page.

public IReadOnlyList<LogEvent> Events { get; init; }

Property Value

IReadOnlyList<LogEvent>

TotalCount

The total number of matching logevents, ignoring any paging (Top/Skip) settings.

public int TotalCount { get; init; }

Property Value

int
To top