Skip to content

Class AuditChange

Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll

Describes one field-level change captured by an audit entry.

public sealed class AuditChange

objectAuditChange

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

Creates a new audit change.

public AuditChange(string fieldName, string? oldValue = null, string? newValue = null)

fieldName string

The logical field or property name that changed.

oldValue string?

The previous serialized value when one is known.

newValue string?

The new serialized value when one is known.

Gets the logical field or property name that changed.

public string FieldName { get; }

string

Gets the new serialized value when one is known.

public string? NewValue { get; }

string?

Gets the previous serialized value when one is known.

public string? OldValue { get; }

string?