Table of Contents

Class ApplicationAuditContext

Namespace
ProjectTemplate.Infrastructure.Data.Auditing
Assembly
ProjectTemplate.Infrastructure.dll

Carries host-owned identity and correlation data into application mutation audit records.

public sealed record ApplicationAuditContext : IEquatable<ApplicationAuditContext>
Inheritance
ApplicationAuditContext
Implements
Inherited Members

Constructors

ApplicationAuditContext(string, string, string, string?, string?, string?, string?, string?, string?, string?, string?)

public ApplicationAuditContext(string actorId, string actorType, string actorDisplayName, string? operationExecutionId = null, string? executionAttemptId = null, string? correlationId = null, string? traceId = null, string? spanId = null, string? decisionAuditRecordId = null, string? tenantHash = null, string? organizationHash = null)

Parameters

actorId string
actorType string
actorDisplayName string
operationExecutionId string
executionAttemptId string
correlationId string
traceId string
spanId string
decisionAuditRecordId string
tenantHash string
organizationHash string

Properties

ActorDisplayName

public string ActorDisplayName { get; }

Property Value

string

ActorId

public string ActorId { get; }

Property Value

string

ActorType

public string ActorType { get; }

Property Value

string

CorrelationId

public string? CorrelationId { get; }

Property Value

string

DecisionAuditRecordId

public string? DecisionAuditRecordId { get; }

Property Value

string

ExecutionAttemptId

public string? ExecutionAttemptId { get; }

Property Value

string

OperationExecutionId

public string? OperationExecutionId { get; }

Property Value

string

OrganizationHash

public string? OrganizationHash { get; }

Property Value

string

SpanId

public string? SpanId { get; }

Property Value

string

System

public static ApplicationAuditContext System { get; }

Property Value

ApplicationAuditContext

TenantHash

public string? TenantHash { get; }

Property Value

string

TraceId

public string? TraceId { get; }

Property Value

string