ข้ามไปยังเนื้อหา

Class AuditHistoryExportSettings

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes configuration-driven audit-history export settings for a Cephalon app.

public sealed class AuditHistoryExportSettings

objectAuditHistoryExportSettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public AuditHistoryExportSettings(bool? enabled = null, int? maxEntries = null)

enabled bool?

Whether audit-history export was explicitly enabled.

maxEntries int?

The configured maximum number of entries that one export may stream.

Gets the default maximum number of entries that one audit-history export may stream.

public const int DefaultMaxEntries = 1000

int

Gets an empty audit-history export-settings instance.

public static AuditHistoryExportSettings Empty { get; }

AuditHistoryExportSettings

Gets a value indicating whether audit-history export was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any audit-history export settings were explicitly supplied.

public bool HasValues { get; }

bool

Gets the configured maximum number of entries that one export may stream.

public int? MaxEntries { get; }

int?

Reads audit-history export settings from the supplied configuration section.

public static AuditHistoryExportSettings FromSection(IConfigurationSection? section)

section IConfigurationSection?

The audit-history export configuration section to read.

AuditHistoryExportSettings

The parsed audit-history export settings.