Table of Contents

Class HookContext

Namespace
DotBoxD.Abstractions
Assembly
DotBoxD.Abstractions.dll
public sealed class HookContext
Inheritance
HookContext
Inherited Members

Constructors

HookContext(IPluginMessageSink, CancellationToken)

public HookContext(IPluginMessageSink messages, CancellationToken cancellationToken)

Parameters

messages IPluginMessageSink
cancellationToken CancellationToken

Properties

CancellationToken

public CancellationToken CancellationToken { get; }

Property Value

CancellationToken

Messages

public IPluginMessageSink Messages { get; }

Property Value

IPluginMessageSink

Methods

Host<THost>()

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

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

Returns

THost

Type Parameters

THost