Class MDomain
Domain separates multiple processes within one executed CLR environment.
At once you can execute methods, get instances etc, only from on Domain at the time. If you want to execute any code that given domain contains, you need to switch context, and dispatch current thread to CLR environment.
Inheritance
MDomain
Inherited Members
MDomain
Assembly: FlaxEngine.dll
File: Engine/Scripting/ManagedCLR/MDomain.h
Syntax
public class MDomain
Constructors
MDomain(const StringAnsi& domainName)
Methods
Dispatch()
Attaches current CLR domain calls to the current thread.
Declaration
public void Dispatch() const
GetAssemblies()
Gets the current domain assemblies.
Declaration
public AssembliesDictionary GetAssemblies() const
Returns
AssembliesDictionary
|
GetName()
SetCurrentDomain(bool force=false)
Sets currently using domain.
Declaration
public bool SetCurrentDomain(bool force=false)
Parameters
bool
force
|
Returns
bool
True if succeed in settings, false if failed. |