C# Class System.Reflection.Assembly.Assembly

Inheritance: ICustomAttributeProvider, _Assembly, IEvidenceFactory, ISerializable
Mostra file Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
Assembly System.Security
FillName void
GetCallingAssembly Assembly
GetCodeBase string
GetEntryAssembly Assembly
GetExecutingAssembly Assembly
GetFilesInternal object
GetManifestModule Module
GetManifestModuleInternal Module
GetManifestResourceInfoInternal bool
GetManifestResourceInternal IntPtr
GetManifestResourceNames String[]
GetModulesInternal System.Reflection.Module[]
GetName AssemblyName
GetNamespaces string[]
GetObjectData void
GetReferencedAssemblies System.Reflection.AssemblyName[]
GetSatelliteAssembly Assembly
GetSatelliteAssemblyNoThrow Assembly
GetTypes Type[]
InternalGetAssemblyName void
InternalGetType Type
InternalImageRuntimeVersion string
LoadAssemblyPermissions void
LoadFrom Assembly
LoadFrom Assembly
LoadModule Module
LoadModule Module
LoadPermissions bool
LoadWithPartialName Assembly
LoadWithPartialName Assembly
LoadWithPartialName Assembly
MonoDebugger_GetMethodToken int
Resolve void
UnprotectedGetEvidence System.Security.Policy.Evidence
UnprotectedGetName AssemblyName
get_code_base string
get_fullname string
get_global_assembly_cache bool
get_location string
load_with_partial_name Assembly

Public Methods

Method Description
CreateInstance ( String typeName ) : Object
CreateInstance ( String typeName, Boolean ignoreCase ) : Object
CreateInstance ( String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture, Object activationAttributes ) : Object
CreateQualifiedName ( String assemblyName, String typeName ) : String
GetAssembly ( Type type ) : Assembly
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetExportedTypes ( ) : Type[]
GetFile ( String name ) : FileStream
GetFiles ( ) : System.IO.FileStream[]
GetFiles ( bool getResourceModules ) : System.IO.FileStream[]
GetLoadedModules ( ) : System.Reflection.Module[]
GetLoadedModules ( bool getResourceModules ) : System.Reflection.Module[]
GetManifestResourceInfo ( String resourceName ) : ManifestResourceInfo
GetManifestResourceStream ( String name ) : Stream
GetManifestResourceStream ( Type type, String name ) : Stream
GetModule ( String name ) : Module
GetModules ( ) : System.Reflection.Module[]
GetModules ( bool getResourceModules ) : System.Reflection.Module[]
GetName ( ) : AssemblyName
GetSatelliteAssembly ( CultureInfo culture ) : Assembly
GetSatelliteAssembly ( CultureInfo culture, Version version ) : Assembly
GetType ( ) : Type
GetType ( String name ) : Type
GetType ( String name, Boolean throwOnError ) : Type
GetType ( string name, bool throwOnError, bool ignoreCase ) : Type
GetTypes ( ) : Type[]
IsDefined ( Type attributeType, bool inherit ) : bool
Load ( AssemblyName assemblyRef ) : Assembly
Load ( AssemblyName assemblyRef, Evidence assemblySecurity ) : Assembly
Load ( Byte rawAssembly ) : Assembly
Load ( Byte rawAssembly, Byte rawSymbolStore ) : Assembly
Load ( Byte rawAssembly, Byte rawSymbolStore, Evidence securityEvidence ) : Assembly
Load ( String assemblyString ) : Assembly
Load ( String assemblyString, Evidence assemblySecurity ) : Assembly
LoadFile ( String path ) : Assembly
LoadFile ( String path, Evidence securityEvidence ) : Assembly
LoadFrom ( String assemblyFile ) : Assembly
LoadFrom ( String assemblyFile, Evidence securityEvidence ) : Assembly
ReflectionOnlyLoad ( byte rawAssembly ) : Assembly
ReflectionOnlyLoad ( string assemblyString ) : Assembly
ReflectionOnlyLoadFrom ( string assemblyFile ) : Assembly
ToString ( ) : string

Private Methods

Method Description
Assembly ( ) : System.Security
FillName ( Assembly ass, AssemblyName aname ) : void
GetCallingAssembly ( ) : Assembly
GetCodeBase ( bool escaped ) : string
GetEntryAssembly ( ) : Assembly
GetExecutingAssembly ( ) : Assembly
GetFilesInternal ( String name, bool getResourceModules ) : object
GetManifestModule ( ) : Module
GetManifestModuleInternal ( ) : Module
GetManifestResourceInfoInternal ( String name, ManifestResourceInfo info ) : bool
GetManifestResourceInternal ( String name, int &size, Module &module ) : IntPtr
GetManifestResourceNames ( ) : String[]
GetModulesInternal ( ) : System.Reflection.Module[]
GetName ( Boolean copiedName ) : AssemblyName
GetNamespaces ( ) : string[]
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetReferencedAssemblies ( ) : System.Reflection.AssemblyName[]
GetSatelliteAssembly ( CultureInfo culture, Version version, bool throwOnError ) : Assembly
GetSatelliteAssemblyNoThrow ( CultureInfo culture, Version version ) : Assembly
GetTypes ( bool exportedOnly ) : Type[]
InternalGetAssemblyName ( string assemblyFile, AssemblyName aname ) : void
InternalGetType ( Module module, String name, Boolean throwOnError, Boolean ignoreCase ) : Type
InternalImageRuntimeVersion ( ) : string
LoadAssemblyPermissions ( ) : void
LoadFrom ( String assemblyFile, Evidence securityEvidence, byte hashValue, AssemblyHashAlgorithm hashAlgorithm ) : Assembly
LoadFrom ( String assemblyFile, bool refonly ) : Assembly
LoadModule ( string moduleName, byte rawModule ) : Module
LoadModule ( string moduleName, byte rawModule, byte rawSymbolStore ) : Module
LoadPermissions ( Assembly a, IntPtr &minimum, int &minLength, IntPtr &optional, int &optLength, IntPtr &refused, int &refLength ) : bool
LoadWithPartialName ( string partialName ) : Assembly
LoadWithPartialName ( string partialName, Evidence securityEvidence ) : Assembly
LoadWithPartialName ( string partialName, Evidence securityEvidence, bool oldBehavior ) : Assembly
MonoDebugger_GetMethodToken ( MethodBase method ) : int
Resolve ( ) : void
UnprotectedGetEvidence ( ) : Evidence
UnprotectedGetName ( ) : AssemblyName
get_code_base ( bool escaped ) : string
get_fullname ( ) : string
get_global_assembly_cache ( ) : bool
get_location ( ) : string
load_with_partial_name ( string name, Evidence e ) : Assembly

Method Details

CreateInstance() public method

public CreateInstance ( String typeName ) : Object
typeName String
return Object

CreateInstance() public method

public CreateInstance ( String typeName, Boolean ignoreCase ) : Object
typeName String
ignoreCase Boolean
return Object

CreateInstance() public method

public CreateInstance ( String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture, Object activationAttributes ) : Object
typeName String
ignoreCase Boolean
bindingAttr BindingFlags
binder Binder
args Object
culture System.Globalization.CultureInfo
activationAttributes Object
return Object

CreateQualifiedName() public static method

public static CreateQualifiedName ( String assemblyName, String typeName ) : String
assemblyName String
typeName String
return String

GetAssembly() public static method

public static GetAssembly ( Type type ) : Assembly
type Type
return Assembly

GetCustomAttributes() public method

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType Type
inherit bool
return object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
return object[]

GetExportedTypes() public method

public GetExportedTypes ( ) : Type[]
return Type[]

GetFile() public method

public GetFile ( String name ) : FileStream
name String
return System.IO.FileStream

GetFiles() public method

public GetFiles ( ) : System.IO.FileStream[]
return System.IO.FileStream[]

GetFiles() public method

public GetFiles ( bool getResourceModules ) : System.IO.FileStream[]
getResourceModules bool
return System.IO.FileStream[]

GetLoadedModules() public method

public GetLoadedModules ( ) : System.Reflection.Module[]
return System.Reflection.Module[]

GetLoadedModules() public method

public GetLoadedModules ( bool getResourceModules ) : System.Reflection.Module[]
getResourceModules bool
return System.Reflection.Module[]

GetManifestResourceInfo() public method

public GetManifestResourceInfo ( String resourceName ) : ManifestResourceInfo
resourceName String
return ManifestResourceInfo

GetManifestResourceStream() public method

public GetManifestResourceStream ( String name ) : Stream
name String
return System.IO.Stream

GetManifestResourceStream() public method

public GetManifestResourceStream ( Type type, String name ) : Stream
type Type
name String
return System.IO.Stream

GetModule() public method

public GetModule ( String name ) : Module
name String
return Module

GetModules() public method

public GetModules ( ) : System.Reflection.Module[]
return System.Reflection.Module[]

GetModules() public method

public GetModules ( bool getResourceModules ) : System.Reflection.Module[]
getResourceModules bool
return System.Reflection.Module[]

GetName() public method

public GetName ( ) : AssemblyName
return AssemblyName

GetSatelliteAssembly() public method

public GetSatelliteAssembly ( CultureInfo culture ) : Assembly
culture System.Globalization.CultureInfo
return Assembly

GetSatelliteAssembly() public method

public GetSatelliteAssembly ( CultureInfo culture, Version version ) : Assembly
culture System.Globalization.CultureInfo
version Version
return Assembly

GetType() public method

public GetType ( ) : Type
return Type

GetType() public method

public GetType ( String name ) : Type
name String
return Type

GetType() public method

public GetType ( String name, Boolean throwOnError ) : Type
name String
throwOnError Boolean
return Type

GetType() public method

public GetType ( string name, bool throwOnError, bool ignoreCase ) : Type
name string
throwOnError bool
ignoreCase bool
return Type

GetTypes() public method

public GetTypes ( ) : Type[]
return Type[]

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType Type
inherit bool
return bool

Load() public static method

public static Load ( AssemblyName assemblyRef ) : Assembly
assemblyRef AssemblyName
return Assembly

Load() public static method

public static Load ( AssemblyName assemblyRef, Evidence assemblySecurity ) : Assembly
assemblyRef AssemblyName
assemblySecurity System.Security.Policy.Evidence
return Assembly

Load() public static method

public static Load ( Byte rawAssembly ) : Assembly
rawAssembly Byte
return Assembly

Load() public static method

public static Load ( Byte rawAssembly, Byte rawSymbolStore ) : Assembly
rawAssembly Byte
rawSymbolStore Byte
return Assembly

Load() public static method

public static Load ( Byte rawAssembly, Byte rawSymbolStore, Evidence securityEvidence ) : Assembly
rawAssembly Byte
rawSymbolStore Byte
securityEvidence System.Security.Policy.Evidence
return Assembly

Load() public static method

public static Load ( String assemblyString ) : Assembly
assemblyString String
return Assembly

Load() public static method

public static Load ( String assemblyString, Evidence assemblySecurity ) : Assembly
assemblyString String
assemblySecurity System.Security.Policy.Evidence
return Assembly

LoadFile() public static method

public static LoadFile ( String path ) : Assembly
path String
return Assembly

LoadFile() public static method

public static LoadFile ( String path, Evidence securityEvidence ) : Assembly
path String
securityEvidence System.Security.Policy.Evidence
return Assembly

LoadFrom() public static method

public static LoadFrom ( String assemblyFile ) : Assembly
assemblyFile String
return Assembly

LoadFrom() public static method

public static LoadFrom ( String assemblyFile, Evidence securityEvidence ) : Assembly
assemblyFile String
securityEvidence System.Security.Policy.Evidence
return Assembly

ReflectionOnlyLoad() public static method

public static ReflectionOnlyLoad ( byte rawAssembly ) : Assembly
rawAssembly byte
return Assembly

ReflectionOnlyLoad() public static method

public static ReflectionOnlyLoad ( string assemblyString ) : Assembly
assemblyString string
return Assembly

ReflectionOnlyLoadFrom() public static method

public static ReflectionOnlyLoadFrom ( string assemblyFile ) : Assembly
assemblyFile string
return Assembly

ToString() public method

public ToString ( ) : string
return string