Package system.reflection
Class Assembly
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.reflection.Assembly
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
AssemblyBuilder
public class Assembly extends NetObject
The base .NET class managing System.Reflection.Assembly, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Assembly
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Reflection.Assemblystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModuleResolve(ModuleResolveEventHandler handler)
static Assembly
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAssembly
, a cast assert is made to check if types are compatible.NetObject
CreateInstance(java.lang.String typeName)
NetObject
CreateInstance(java.lang.String typeName, boolean ignoreCase)
NetObject
CreateInstance(java.lang.String typeName, boolean ignoreCase, BindingFlags bindingAttr, Binder binder, NetObject[] args, CultureInfo culture, NetObject[] activationAttributes)
static java.lang.String
CreateQualifiedName(java.lang.String assemblyName, java.lang.String typeName)
static Assembly
GetAssembly(NetType type)
static Assembly
GetCallingAssembly()
java.lang.String
getCodeBase()
NetObject[]
GetCustomAttributes(boolean inherit)
NetObject[]
GetCustomAttributes(NetType attributeType, boolean inherit)
static Assembly
GetEntryAssembly()
MethodInfo
getEntryPoint()
java.lang.String
getEscapedCodeBase()
Evidence
getEvidence()
static Assembly
GetExecutingAssembly()
NetType[]
GetExportedTypes()
FileStream
GetFile(java.lang.String name)
FileStream[]
GetFiles()
FileStream[]
GetFiles(boolean getResourceModules)
java.lang.String
getFullName()
boolean
getGlobalAssemblyCache()
long
getHostContext()
java.lang.String
getImageRuntimeVersion()
boolean
getIsDynamic()
boolean
getIsFullyTrusted()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeModule[]
GetLoadedModules()
Module[]
GetLoadedModules(boolean getResourceModules)
java.lang.String
getLocation()
Module
getManifestModule()
ManifestResourceInfo
GetManifestResourceInfo(java.lang.String resourceName)
java.lang.String[]
GetManifestResourceNames()
Stream
GetManifestResourceStream(java.lang.String name)
Stream
GetManifestResourceStream(NetType type, java.lang.String name)
Module
GetModule(java.lang.String name)
Module[]
GetModules()
Module[]
GetModules(boolean getResourceModules)
AssemblyName
GetName()
AssemblyName
GetName(boolean copiedName)
void
GetObjectData(SerializationInfo info, StreamingContext context)
PermissionSet
getPermissionSet()
AssemblyName[]
GetReferencedAssemblies()
boolean
getReflectionOnly()
Assembly
GetSatelliteAssembly(CultureInfo culture)
Assembly
GetSatelliteAssembly(CultureInfo culture, Version version)
SecurityRuleSet
getSecurityRuleSet()
NetType
GetType(java.lang.String name)
NetType
GetType(java.lang.String name, boolean throwOnError)
NetType
GetType(java.lang.String name, boolean throwOnError, boolean ignoreCase)
NetType[]
GetTypes()
boolean
IsDefined(NetType attributeType, boolean inherit)
static Assembly
Load(byte[] rawAssembly)
static Assembly
Load(byte[] rawAssembly, byte[] rawSymbolStore)
static Assembly
Load(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence)
static Assembly
Load(byte[] rawAssembly, byte[] rawSymbolStore, SecurityContextSource securityContextSource)
static Assembly
Load(java.lang.String assemblyString)
static Assembly
Load(java.lang.String assemblyString, Evidence assemblySecurity)
static Assembly
Load(JCORefOut dupParam0)
static Assembly
Load(JCORefOut dupParam0, JCORefOut dupParam1)
static Assembly
Load(JCORefOut dupParam0, JCORefOut dupParam1, Evidence dupParam2)
static Assembly
Load(JCORefOut dupParam0, JCORefOut dupParam1, SecurityContextSource dupParam2)
static Assembly
Load(AssemblyName assemblyRef)
static Assembly
Load(AssemblyName assemblyRef, Evidence assemblySecurity)
static Assembly
LoadFile(java.lang.String path)
static Assembly
LoadFile(java.lang.String path, Evidence securityEvidence)
static Assembly
LoadFrom(java.lang.String assemblyFile)
static Assembly
LoadFrom(java.lang.String assemblyFile, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
static Assembly
LoadFrom(java.lang.String dupParam0, JCORefOut dupParam1, AssemblyHashAlgorithm dupParam2)
static Assembly
LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence)
static Assembly
LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
static Assembly
LoadFrom(java.lang.String dupParam0, Evidence dupParam1, JCORefOut dupParam2, AssemblyHashAlgorithm dupParam3)
Module
LoadModule(java.lang.String moduleName, byte[] rawModule)
Module
LoadModule(java.lang.String moduleName, byte[] rawModule, byte[] rawSymbolStore)
Module
LoadModule(java.lang.String dupParam0, JCORefOut dupParam1)
Module
LoadModule(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)
static Assembly
LoadWithPartialName(java.lang.String partialName)
static Assembly
LoadWithPartialName(java.lang.String partialName, Evidence securityEvidence)
static Assembly
ReflectionOnlyLoad(byte[] rawAssembly)
static Assembly
ReflectionOnlyLoad(java.lang.String assemblyString)
static Assembly
ReflectionOnlyLoad(JCORefOut dupParam0)
static Assembly
ReflectionOnlyLoadFrom(java.lang.String assemblyFile)
void
removeModuleResolve(ModuleResolveEventHandler handler)
void
setJCOInstance(JCObject instance)
static Assembly
UnsafeLoadFrom(java.lang.String assemblyFile)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Reflection.Assembly- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Assembly cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAssembly
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Assembly
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsDefined
public boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetFile
public FileStream GetFile(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetFiles
public FileStream[] GetFiles() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetFiles
public FileStream[] GetFiles(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetManifestResourceStream
public Stream GetManifestResourceStream(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetManifestResourceStream
public Stream GetManifestResourceStream(NetType type, java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, FormatException, SecurityException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, FormatException, SecurityException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName, boolean ignoreCase, BindingFlags bindingAttr, Binder binder, NetObject[] args, CultureInfo culture, NetObject[] activationAttributes) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, MissingMethodException
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetAssembly
public static Assembly GetAssembly(NetType type) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotImplementedException
-
GetCallingAssembly
public static Assembly GetCallingAssembly() throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.Throwable
InvalidOperationException
-
GetEntryAssembly
public static Assembly GetEntryAssembly() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
NotImplementedException
-
GetExecutingAssembly
public static Assembly GetExecutingAssembly() throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.Throwable
InvalidOperationException
-
GetSatelliteAssembly
public Assembly GetSatelliteAssembly(CultureInfo culture) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetSatelliteAssembly
public Assembly GetSatelliteAssembly(CultureInfo culture, Version version) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
Load
public static Assembly Load(byte[] rawAssembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1, Evidence dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, SecurityContextSource securityContextSource) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1, SecurityContextSource dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(AssemblyName assemblyRef) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
OverflowException
-
Load
public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
OverflowException
-
Load
public static Assembly Load(java.lang.String assemblyString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
FormatException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
Load
public static Assembly Load(java.lang.String assemblyString, Evidence assemblySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
FormatException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFile
public static Assembly LoadFile(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
NotSupportedException
IndexOutOfRangeException
NullReferenceException
-
LoadFile
public static Assembly LoadFile(java.lang.String path, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
NotSupportedException
IndexOutOfRangeException
NullReferenceException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String dupParam0, JCORefOut dupParam1, AssemblyHashAlgorithm dupParam2) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String dupParam0, Evidence dupParam1, JCORefOut dupParam2, AssemblyHashAlgorithm dupParam3) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadWithPartialName
public static Assembly LoadWithPartialName(java.lang.String partialName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, FormatException, NotImplementedException, CultureNotFoundException, SecurityException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
NotSupportedException
FormatException
NotImplementedException
CultureNotFoundException
SecurityException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
LoadWithPartialName
public static Assembly LoadWithPartialName(java.lang.String partialName, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, FormatException, NotImplementedException, CultureNotFoundException, SecurityException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
NotSupportedException
FormatException
NotImplementedException
CultureNotFoundException
SecurityException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(byte[] rawAssembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(java.lang.String assemblyString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
FormatException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
ReflectionOnlyLoadFrom
public static Assembly ReflectionOnlyLoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
UnsafeLoadFrom
public static Assembly UnsafeLoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
PathTooLongException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
GetName
public AssemblyName GetName() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetName
public AssemblyName GetName(boolean copiedName) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetReferencedAssemblies
public AssemblyName[] GetReferencedAssemblies() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetManifestResourceInfo
public ManifestResourceInfo GetManifestResourceInfo(java.lang.String resourceName) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetModule
public Module GetModule(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String moduleName, byte[] rawModule) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String moduleName, byte[] rawModule, byte[] rawSymbolStore) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetLoadedModules
public Module[] GetLoadedModules() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetLoadedModules
public Module[] GetLoadedModules(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetModules
public Module[] GetModules() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetModules
public Module[] GetModules(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
CreateQualifiedName
public static java.lang.String CreateQualifiedName(java.lang.String assemblyName, java.lang.String typeName) throws java.lang.Throwable, IndexOutOfRangeException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
-
GetManifestResourceNames
public java.lang.String[] GetManifestResourceNames() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String name, boolean throwOnError) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String name, boolean throwOnError, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetExportedTypes
public NetType[] GetExportedTypes() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetTypes
public NetType[] GetTypes() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getGlobalAssemblyCache
public boolean getGlobalAssemblyCache() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsDynamic
public boolean getIsDynamic() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsFullyTrusted
public boolean getIsFullyTrusted() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getReflectionOnly
public boolean getReflectionOnly() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getHostContext
public long getHostContext() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getEntryPoint
public MethodInfo getEntryPoint() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getManifestModule
public Module getManifestModule() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getPermissionSet
public PermissionSet getPermissionSet() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getEvidence
public Evidence getEvidence() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getSecurityRuleSet
public SecurityRuleSet getSecurityRuleSet() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCodeBase
public java.lang.String getCodeBase() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getEscapedCodeBase
public java.lang.String getEscapedCodeBase() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getFullName
public java.lang.String getFullName() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getImageRuntimeVersion
public java.lang.String getImageRuntimeVersion() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getLocation
public java.lang.String getLocation() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
addModuleResolve
public void addModuleResolve(ModuleResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeModuleResolve
public void removeModuleResolve(ModuleResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-