public interface IClrAppDomain extends IClrBase
Modifier and Type | Method and Description |
---|---|
void |
addAssemblyResolveEventHandler(DotNetNativeTypes.IClrEventHandlerReturn callBack)
Add AssemblyResolve event handler which will get invoked when the resolution of an assembly fails.
|
IClrAssembly[] |
getAssemblies()
Gets an array of assemblies in this application domain.
|
java.lang.String |
getBaseDirectory()
Gets the base directory that the assembly resolver uses to probe for assemblies.
|
DotNetNativeTypes.ClrAppDomain |
getDefaultPointer()
Gets the default clr appDomain pointer
|
java.lang.String |
getFriendlyName()
Gets the friendly name of this application domain.
|
boolean |
isDefault()
Returns a value that indicates whether the application domain is the default application domain for the process.
|
IClrAssembly |
load(java.lang.String assemblyString)
Loads an Assembly given its display name.
|
void |
removeAssemblyResolveEventHandler(DotNetNativeTypes.IClrEventHandlerReturn callBack)
Remove AssemblyResolve event handler from the current application domain.
|
void |
unload()
Unloads the current application domain.
|
equals, getBaseObject, getFieldValue, getPropertyIndexValue, getPropertyIndexValue, getPropertyValue, getType, invokeGenericMethod, invokeMethod, invokeVoidMethod, registerEventCallBack, registerEventCallBackWithReturn, setFieldValue, setPropertyIndexValue, setPropertyIndexValue, setPropertyValue, unRegisterEventCallBack, unRegisterEventCallBackWithReturn
DotNetNativeTypes.ClrAppDomain getDefaultPointer()
boolean isDefault()
java.lang.String getBaseDirectory() throws EClrError
EClrError
java.lang.String getFriendlyName() throws EClrError
EClrError
IClrAssembly load(java.lang.String assemblyString) throws EClrError
assemblyString
- The display name of the assembly.EClrError
IClrAssembly[] getAssemblies() throws java.lang.Exception
java.lang.Exception
void addAssemblyResolveEventHandler(DotNetNativeTypes.IClrEventHandlerReturn callBack) throws EClrError
callBack
- Represent the ClrEventHandlerReturn method pointer that handles the AssemblyResolve event.EClrError
void removeAssemblyResolveEventHandler(DotNetNativeTypes.IClrEventHandlerReturn callBack) throws EClrError
callBack
- Represent the ClrEventHandlerReturn method pointer which was added to theAssemblyResolve event.EClrError