Skip to content

Class HookContext

Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll

public sealed class HookContext

objectHookContext

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

HookContext(IPluginMessageSink, CancellationToken)

Section titled “ HookContext(IPluginMessageSink, CancellationToken)”
public HookContext(IPluginMessageSink messages, CancellationToken cancellationToken)

messages IPluginMessageSink

cancellationToken CancellationToken

public CancellationToken CancellationToken { get; }

CancellationToken

public IPluginMessageSink Messages { get; }

IPluginMessageSink

Identifies a host service the kernel calls into. In verified kernel IR the call is replaced by a sandbox binding (see DotBoxD.Abstractions.HostBindingAttribute), so this marker is never invoked directly; calling it at runtime throws.

public THost Host<THost>() where THost : class

THost

THost