Skip to content

Class AuditHistorySelection

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the durable audit-history inputs resolved for a Cephalon app.

public sealed class AuditHistorySelection

objectAuditHistorySelection

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

AuditHistorySelection(bool?, string?, string?, AuditHistoryExportSelection?, AuditHistoryRetentionSelection?)

Section titled “ AuditHistorySelection(bool?, string?, string?, AuditHistoryExportSelection?, AuditHistoryRetentionSelection?)”

Initializes a new instance of the class.

[JsonConstructor]
public AuditHistorySelection(bool? enabled = null, string? provider = null, string? databaseRole = null, AuditHistoryExportSelection? export = null, AuditHistoryRetentionSelection? retention = null)

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.

Gets the selected database role used by the durable history path.

public string? DatabaseRole { get; }

string?

Gets an empty audit-history selection instance.

public static AuditHistorySelection Empty { get; }

AuditHistorySelection

Gets a value indicating whether durable audit history was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets the resolved export inputs for durable audit history.

public AuditHistoryExportSelection Export { get; }

AuditHistoryExportSelection

Gets a value indicating whether any durable audit-history inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the selected durable history provider identifier.

public string? Provider { get; }

string?

Gets the resolved retention inputs for durable audit history.

public AuditHistoryRetentionSelection Retention { get; }

AuditHistoryRetentionSelection