public class AssemblyName extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.AssemblyName
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Reflection.AssemblyName
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
AssemblyName() |
AssemblyName(java.lang.Object instance)
Internal constructor.
|
AssemblyName(java.lang.String assemblyName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public AssemblyName()
throws java.lang.Throwable
java.lang.Throwablepublic AssemblyName(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic AssemblyName(java.lang.String assemblyName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ArrayTypeMismatchException,
FileLoadException
public static AssemblyName cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into AssemblyName, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedAssemblyName instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static AssemblyName GetAssemblyName(java.lang.String assemblyFile) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, FileLoadException, FileNotFoundException, NotSupportedException, MissingMethodException
public java.lang.String getCodeBase()
throws java.lang.Throwable
java.lang.Throwablepublic AssemblyContentType getContentType() throws java.lang.Throwable
java.lang.Throwablepublic CultureInfo getCultureInfo() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCultureName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getEscapedCodeBase()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public AssemblyNameFlags getFlags() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFullName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
SecurityException
public AssemblyHashAlgorithm getHashAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic StrongNameKeyPair getKeyPair() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public ProcessorArchitecture getProcessorArchitecture() throws java.lang.Throwable
java.lang.Throwablepublic byte[] GetPublicKey()
throws java.lang.Throwable
java.lang.Throwablepublic byte[] GetPublicKeyToken()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
SecurityException
public Version getVersion() throws java.lang.Throwable
java.lang.Throwablepublic AssemblyVersionCompatibility getVersionCompatibility() throws java.lang.Throwable
java.lang.Throwablepublic void OnDeserialization(NetObject sender) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public static boolean ReferenceMatchesDefinition(AssemblyName reference, AssemblyName definition) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic void setCodeBase(java.lang.String CodeBase)
throws java.lang.Throwable
java.lang.Throwablepublic void setContentType(AssemblyContentType ContentType) throws java.lang.Throwable
java.lang.Throwablepublic void setCultureInfo(CultureInfo CultureInfo) throws java.lang.Throwable
java.lang.Throwablepublic void setCultureName(java.lang.String CultureName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException
public void setFlags(AssemblyNameFlags Flags) throws java.lang.Throwable
java.lang.Throwablepublic void setHashAlgorithm(AssemblyHashAlgorithm HashAlgorithm) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setKeyPair(StrongNameKeyPair KeyPair) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public void setName(java.lang.String Name)
throws java.lang.Throwable
java.lang.Throwablepublic void setProcessorArchitecture(ProcessorArchitecture ProcessorArchitecture) throws java.lang.Throwable
java.lang.Throwablepublic void SetPublicKey(byte[] publicKey)
throws java.lang.Throwable
java.lang.Throwablepublic void SetPublicKey(JCORefOut dupParam0) throws java.lang.Throwable
java.lang.Throwablepublic void SetPublicKeyToken(byte[] publicKeyToken)
throws java.lang.Throwable
java.lang.Throwablepublic void SetPublicKeyToken(JCORefOut dupParam0) throws java.lang.Throwable
java.lang.Throwablepublic void setVersion(Version Version) throws java.lang.Throwable
java.lang.Throwablepublic void setVersionCompatibility(AssemblyVersionCompatibility VersionCompatibility) throws java.lang.Throwable
java.lang.Throwable