Class AuditHistorySelection
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the durable audit-history inputs resolved for a Cephalon app.
public sealed class AuditHistorySelectionInheritance
Section titled “Inheritance”object ← AuditHistorySelection
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”AuditHistorySelection(bool?, string?, string?, AuditHistoryExportSelection?, AuditHistoryRetentionSelection?)
Section titled “ AuditHistorySelection(bool?, string?, string?, AuditHistoryExportSelection?, AuditHistoryRetentionSelection?)”Initializes a new instance of the
[JsonConstructor]public AuditHistorySelection(bool? enabled = null, string? provider = null, string? databaseRole = null, AuditHistoryExportSelection? export = null, AuditHistoryRetentionSelection? retention = null)Parameters
Section titled “Parameters”enabled bool?
Whether durable audit history was explicitly enabled.
provider string?
The selected durable history provider identifier.
databaseRole string?
The selected database role used by the durable history path.
export AuditHistoryExportSelection?
The resolved export inputs for durable audit history.
retention AuditHistoryRetentionSelection?
The resolved retention inputs for durable audit history.
Properties
Section titled “Properties”DatabaseRole
Section titled “ DatabaseRole”Gets the selected database role used by the durable history path.
public string? DatabaseRole { get; }Property Value
Section titled “Property Value”Gets an empty audit-history selection instance.
public static AuditHistorySelection Empty { get; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Gets a value indicating whether durable audit history was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
Export
Section titled “ Export”Gets the resolved export inputs for durable audit history.
public AuditHistoryExportSelection Export { get; }Property Value
Section titled “Property Value”HasValues
Section titled “ HasValues”Gets a value indicating whether any durable audit-history inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”Provider
Section titled “ Provider”Gets the selected durable history provider identifier.
public string? Provider { get; }Property Value
Section titled “Property Value”Retention
Section titled “ Retention”Gets the resolved retention inputs for durable audit history.
public AuditHistoryRetentionSelection Retention { get; }