Package system.reflection
Class AssemblyName
- java.lang.Object
 - 
- org.mases.jcobridge.netreflection.NetObject
 - 
- system.reflection.AssemblyName
 
 
 
- 
- All Implemented Interfaces:
 IJCOBridgeReflected
public class AssemblyName extends NetObject
The base .NET class managing System.Reflection.AssemblyName, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.AssemblyName
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.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Reflection.AssemblyNamestatic JCTypeclassTypeThe type managed from JCOBridge. 
- 
Constructor Summary
Constructors Constructor Description AssemblyName()AssemblyName(java.lang.Object instance)Internal constructor.AssemblyName(java.lang.String assemblyName) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssemblyNamecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAssemblyName, a cast assert is made to check if types are compatible.NetObjectClone()static AssemblyNameGetAssemblyName(java.lang.String assemblyFile)java.lang.StringgetCodeBase()AssemblyContentTypegetContentType()CultureInfogetCultureInfo()java.lang.StringgetCultureName()java.lang.StringgetEscapedCodeBase()AssemblyNameFlagsgetFlags()java.lang.StringgetFullName()AssemblyHashAlgorithmgetHashAlgorithm()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeStrongNameKeyPairgetKeyPair()java.lang.StringgetName()voidGetObjectData(SerializationInfo info, StreamingContext context)ProcessorArchitecturegetProcessorArchitecture()byte[]GetPublicKey()byte[]GetPublicKeyToken()VersiongetVersion()AssemblyVersionCompatibilitygetVersionCompatibility()voidOnDeserialization(NetObject sender)static booleanReferenceMatchesDefinition(AssemblyName reference, AssemblyName definition)voidsetCodeBase(java.lang.String CodeBase)voidsetContentType(AssemblyContentType ContentType)voidsetCultureInfo(CultureInfo CultureInfo)voidsetCultureName(java.lang.String CultureName)voidsetFlags(AssemblyNameFlags Flags)voidsetHashAlgorithm(AssemblyHashAlgorithm HashAlgorithm)voidsetJCOInstance(JCObject instance)voidsetKeyPair(StrongNameKeyPair KeyPair)voidsetName(java.lang.String Name)voidsetProcessorArchitecture(ProcessorArchitecture ProcessorArchitecture)voidSetPublicKey(byte[] publicKey)voidSetPublicKey(JCORefOut dupParam0)voidSetPublicKeyToken(byte[] publicKeyToken)voidSetPublicKeyToken(JCORefOut dupParam0)voidsetVersion(Version Version)voidsetVersionCompatibility(AssemblyVersionCompatibility VersionCompatibility) 
 - 
 
- 
- 
Field Detail
- 
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
 - Constant Field Values
 
 
- 
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
 - Constant Field Values
 
 
- 
className
public static final java.lang.String className
Qualified class name: System.Reflection.AssemblyName- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
AssemblyName
public AssemblyName(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
 java.lang.Throwable
 
- 
AssemblyName
public AssemblyName() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
AssemblyName
public AssemblyName(java.lang.String assemblyName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, FileLoadException 
 - 
 
- 
Method Detail
- 
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
 getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
 getJCOAssemblyNamein classNetObject- Returns:
 - A 
Stringrepresenting the Fullname of reflected Assembly 
 
- 
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
 getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
 getJCOClassNamein classNetObject- Returns:
 - A 
Stringrepresenting the Fullname of reflected Class 
 
- 
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
 getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
 getJCOObjectNamein classNetObject- Returns:
 - A 
Stringrepresenting the name used to allocated the object in CLR context 
 
- 
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
 getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
 getJCOInstancein classNetObject- Returns:
 - An 
Objectrepresenting the CLR instance of the instantiated Class 
 
- 
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
 setJCOInstancein classNetObject
 
- 
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
 getJCOTypein interfaceIJCOBridgeReflected- Overrides:
 getJCOTypein classNetObject- Returns:
 - A 
JCTyperepresenting the CLR Type of the instantiated Class 
 
- 
cast
public static AssemblyName cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAssemblyName, a cast assert is made to check if types are compatible.- Parameters:
 from-IJCOBridgeReflectedinstance to be casted- Returns:
 AssemblyNameinstance- Throws:
 java.lang.Throwable- in case of error during cast operation
 
- 
ReferenceMatchesDefinition
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
- Throws:
 java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalException
 
- 
GetPublicKey
public byte[] GetPublicKey() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
GetPublicKeyToken
public byte[] GetPublicKeyToken() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException 
- 
Clone
public NetObject Clone() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
 java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
 
- 
GetAssemblyName
public static AssemblyName GetAssemblyName(java.lang.String assemblyFile) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, FileLoadException, FileNotFoundException, NotSupportedException, MissingMethodException
 
- 
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
 
- 
OnDeserialization
public void OnDeserialization(NetObject sender) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
 
- 
SetPublicKey
public void SetPublicKey(byte[] publicKey) throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
SetPublicKey
public void SetPublicKey(JCORefOut dupParam0) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
SetPublicKeyToken
public void SetPublicKeyToken(byte[] publicKeyToken) throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
SetPublicKeyToken
public void SetPublicKeyToken(JCORefOut dupParam0) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getHashAlgorithm
public AssemblyHashAlgorithm getHashAlgorithm() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setHashAlgorithm
public void setHashAlgorithm(AssemblyHashAlgorithm HashAlgorithm) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getVersionCompatibility
public AssemblyVersionCompatibility getVersionCompatibility() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setVersionCompatibility
public void setVersionCompatibility(AssemblyVersionCompatibility VersionCompatibility) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getCultureInfo
public CultureInfo getCultureInfo() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setCultureInfo
public void setCultureInfo(CultureInfo CultureInfo) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getContentType
public AssemblyContentType getContentType() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setContentType
public void setContentType(AssemblyContentType ContentType) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getFlags
public AssemblyNameFlags getFlags() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setFlags
public void setFlags(AssemblyNameFlags Flags) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getProcessorArchitecture
public ProcessorArchitecture getProcessorArchitecture() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setProcessorArchitecture
public void setProcessorArchitecture(ProcessorArchitecture ProcessorArchitecture) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
getKeyPair
public StrongNameKeyPair getKeyPair() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
 
- 
setKeyPair
public void setKeyPair(StrongNameKeyPair KeyPair) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
 
- 
getCodeBase
public java.lang.String getCodeBase() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
setCodeBase
public void setCodeBase(java.lang.String CodeBase) throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
getCultureName
public java.lang.String getCultureName() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
setCultureName
public void setCultureName(java.lang.String CultureName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException 
- 
getEscapedCodeBase
public java.lang.String getEscapedCodeBase() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException 
- 
getFullName
public java.lang.String getFullName() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException 
- 
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
setName
public void setName(java.lang.String Name) throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
getVersion
public Version getVersion() throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
- 
setVersion
public void setVersion(Version Version) throws java.lang.Throwable
- Throws:
 java.lang.Throwable
 
 - 
 
 -