Class ApplicationAuditValueDecision
- Assembly
- ReferenceApplication.Infrastructure.dll
Describes how an audited property value should be represented.
public sealed record ApplicationAuditValueDecision : IEquatable<ApplicationAuditValueDecision>
- Inheritance
-
ApplicationAuditValueDecision
- Implements
- Inherited Members
Constructors
ApplicationAuditValueDecision(ApplicationAuditValueDisposition, int?)
Describes how an audited property value should be represented.
public ApplicationAuditValueDecision(ApplicationAuditValueDisposition Disposition, int? MaximumLength = null)
Parameters
DispositionApplicationAuditValueDispositionMaximumLengthint?
Properties
Disposition
public ApplicationAuditValueDisposition Disposition { get; init; }
Property Value
HmacSha256Key
Gets the UTF-8 key used when Disposition is HmacSha256. Required for HMAC-SHA-256 and ignored for other dispositions.
public string? HmacSha256Key { get; init; }
Property Value
Include
public static ApplicationAuditValueDecision Include { get; }
Property Value
Mask
Gets a decision that records the property as changed while replacing its value with a fixed mask.
public static ApplicationAuditValueDecision Mask { get; }
Property Value
MaximumLength
public int? MaximumLength { get; init; }
Property Value
- int?
Methods
HmacSha256(string)
Creates a decision that records an HMAC-SHA-256 digest using the supplied key.
public static ApplicationAuditValueDecision HmacSha256(string key)
Parameters
keystring