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
messagesIPluginMessageSinkcancellationTokenCancellationToken
Properties
CancellationToken
public CancellationToken CancellationToken { get; }
Property Value
Messages
public IPluginMessageSink Messages { get; }
Property Value
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