Tungsten
IDomainLoader Interface |
Defines the interface for a DomainLoader
Namespace: W.Domains
Assembly: Tungsten.Domains (in Tungsten.Domains.dll) Version: 2.0.0
Syntax
C#
public interface IDomainLoader
The IDomainLoader type exposes the following members.
Methods
Name | Description | |
---|---|---|
Create(String) |
Instantiates a class and returns a handle to it. This handle must be cast to an interface in order to work across AppDomains.
| |
CreateTInterfaceType(String) |
Instantiates a class and returns a handle to it. This handle must be cast to an interface in order to work across AppDomains.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Execute(String, String, Object) |
Instantiates a class and calls a method exposed by it.
| |
ExecuteTResult(String, String, Object) |
Instantiates a class and calls a method exposed by it.
| |
ExecuteStaticMethod(String, String, Object) |
Executes a static method on the specified type across the AppDomain
| |
ExecuteStaticMethodTResult(String, String, Object) |
Executes a static method on the specified type across the AppDomain
| |
Load |
Loads the dlls into the new AppDomain
| |
Unload |
Unloads the AppDomain and deletes files in the cache folder. The cache folder is where dlls are copied, and run, when using shadow copying.
|
See Also