Class HookContext
Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll
public sealed class HookContextInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”HookContext(IPluginMessageSink, CancellationToken)
Section titled “ HookContext(IPluginMessageSink, CancellationToken)”public HookContext(IPluginMessageSink messages, CancellationToken cancellationToken)Parameters
Section titled “Parameters”messages IPluginMessageSink
cancellationToken CancellationToken
Properties
Section titled “Properties”CancellationToken
Section titled “ CancellationToken”public CancellationToken CancellationToken { get; }Property Value
Section titled “Property Value”Messages
Section titled “ Messages”public IPluginMessageSink Messages { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Host<THost>()
Section titled “ Host<THost>()”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 : classReturns
Section titled “Returns”THost
Type Parameters
Section titled “Type Parameters”THost