Class AuditHistoryExportSettings
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes configuration-driven audit-history export settings for a Cephalon app.
public sealed class AuditHistoryExportSettingsInheritance
Section titled “Inheritance”object ← AuditHistoryExportSettings
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”AuditHistoryExportSettings(bool?, int?)
Section titled “ AuditHistoryExportSettings(bool?, int?)”Initializes a new instance of the
public AuditHistoryExportSettings(bool? enabled = null, int? maxEntries = null)Parameters
Section titled “Parameters”enabled bool?
Whether audit-history export was explicitly enabled.
maxEntries int?
The configured maximum number of entries that one export may stream.
Fields
Section titled “Fields”DefaultMaxEntries
Section titled “ DefaultMaxEntries”Gets the default maximum number of entries that one audit-history export may stream.
public const int DefaultMaxEntries = 1000Field Value
Section titled “Field Value”Properties
Section titled “Properties”Gets an empty audit-history export-settings instance.
public static AuditHistoryExportSettings Empty { get; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Gets a value indicating whether audit-history export was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any audit-history export settings were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”MaxEntries
Section titled “ MaxEntries”Gets the configured maximum number of entries that one export may stream.
public int? MaxEntries { get; }Property Value
Section titled “Property Value”int?
Methods
Section titled “Methods”FromSection(IConfigurationSection?)
Section titled “ FromSection(IConfigurationSection?)”Reads audit-history export settings from the supplied configuration section.
public static AuditHistoryExportSettings FromSection(IConfigurationSection? section)Parameters
Section titled “Parameters”section IConfigurationSection?
The audit-history export configuration section to read.
Returns
Section titled “Returns”The parsed audit-history export settings.