Class InMemoryAuditSink
Namespace: DotBoxD.Kernels.Bindings
Assembly: DotBoxD.Kernels.dll
public sealed class InMemoryAuditSink : IAuditSinkInheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Events
Section titled “ Events”public IReadOnlyList<SandboxAuditEvent> Events { get; }Property Value
Section titled “Property Value”IReadOnlyList<SandboxAuditEvent>
EventsWritten
Section titled “ EventsWritten”public long EventsWritten { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”HasBindingAuditSince(BindingDescriptor, long, bool, SandboxErrorCode?, SandboxRunId, string, string)
Section titled “ HasBindingAuditSince(BindingDescriptor, long, bool, SandboxErrorCode?, SandboxRunId, string, string)”public bool HasBindingAuditSince(BindingDescriptor descriptor, long checkpoint, bool success, SandboxErrorCode? expectedErrorCode, SandboxRunId runId, string moduleHash, string policyHash)Parameters
Section titled “Parameters”descriptor BindingDescriptor
checkpoint long
success bool
expectedErrorCode SandboxErrorCode?
runId SandboxRunId
moduleHash string
policyHash string
Returns
Section titled “Returns”Write(SandboxAuditEvent)
Section titled “ Write(SandboxAuditEvent)”public void Write(SandboxAuditEvent auditEvent)Parameters
Section titled “Parameters”auditEvent SandboxAuditEvent