Constructor ThreadSafeModule
ThreadSafeModule(ThreadSafeContext, Module)
Initializes a new instance of the ThreadSafeModule class.
public ThreadSafeModule(ThreadSafeContext context, Module module)
Parameters
context
ThreadSafeContextThread safe ContextAlias to place the module into
module
Modulemodule to make thread safe
Remarks
important
This is a "move" constructor and takes ownership of the module. The module provided is NOT usable after this except to dispose it (which is a NOP).