W3cubDocs

/Haxe C#

Assembly

package cs.system.reflection

implements ICustomAttributeProvider, _Assembly, ISerializable, IEvidenceFactory

extended by AssemblyBuilder

@:libType@:csNative@:native("System.Reflection.Assembly") Available on cs

Variables

read only CodeBase:String

read only EntryPoint:MethodInfo

read only EscapedCodeBase:String

read only Evidence:Evidence

read only FullName:String

read only GlobalAssemblyCache:Bool

read only HostContext:Int64

read only ImageRuntimeVersion:String

read only Location:String

read only ManifestModule:Module

read only ReflectionOnly:Bool

Methods

@:final @:overload CreateInstance (typeName:String):Dynamic

@:final @:overload CreateInstance (typeName:String, ignoreCase:Bool, bindingAttr:BindingFlags, binder:Binder, args:NativeArray<Dynamic>, culture:CultureInfo, activationAttributes:NativeArray<Dynamic>):Dynamic

@:final @:overload CreateInstance (typeName:String, ignoreCase:Bool):Dynamic

@:overload GetCustomAttributes (inherit:Bool):NativeArray<Dynamic>

@:overload GetCustomAttributes (attributeType:Type, inherit:Bool):NativeArray<Dynamic>

@:overload GetExportedTypes ():NativeArray<Type>

@:overload GetFile (name:String):FileStream

@:overload GetFiles ():NativeArray<FileStream>

@:overload GetFiles (getResourceModules:Bool):NativeArray<FileStream>

@:final @:overload GetLoadedModules ():NativeArray<Module>

@:final @:overload GetLoadedModules (getResourceModules:Bool):NativeArray<Module>

@:overload GetManifestResourceInfo (resourceName:String):ManifestResourceInfo

@:overload GetManifestResourceNames ():NativeArray<String>

@:overload GetManifestResourceStream (name:String):Stream

@:overload GetManifestResourceStream (type:Type, name:String):Stream

@:final @:overload GetModule (name:String):Module

@:final @:overload GetModules ():NativeArray<Module>

@:final @:overload GetModules (getResourceModules:Bool):NativeArray<Module>

@:overload GetName (copiedName:Bool):AssemblyName

@:overload GetName ():AssemblyName

@:overload GetObjectData (info:SerializationInfo, context:StreamingContext):Void

@:final @:overload GetReferencedAssemblies ():NativeArray<AssemblyName>

@:final @:overload GetSatelliteAssembly (culture:CultureInfo):Assembly

@:final @:overload GetSatelliteAssembly (culture:CultureInfo, version:Version):Assembly

@:noCompletion @:skipReflection @:overload GetType (name:String, throwOnError:Bool):Type

@:noCompletion @:skipReflection @:final @:overload GetType (name:String, throwOnError:Bool, ignoreCase:Bool):Type

@:noCompletion @:skipReflection @:overload GetType (name:String):Type

@:overload GetTypes ():NativeArray<Type>

@:overload IsDefined (attributeType:Type, inherit:Bool):Bool

@:final @:overload LoadModule (moduleName:String, rawModule:NativeArray<UInt8>):Module

@:final @:overload LoadModule (moduleName:String, rawModule:NativeArray<UInt8>, rawSymbolStore:NativeArray<UInt8>):Module

@:overload ToString ():String

@:final @:overload add_ModuleResolve (value:ModuleResolveEventHandler):Void

@:final @:overload remove_ModuleResolve (value:ModuleResolveEventHandler):Void

Static methods

@:final @:overload static CreateQualifiedName (assemblyName:String, typeName:String):String

@:final @:overload static GetAssembly (type:Type):Assembly

@:final @:overload static GetCallingAssembly ():Assembly

@:final @:overload static GetEntryAssembly ():Assembly

@:final @:overload static GetExecutingAssembly ():Assembly

@:final @:overload static Load (assemblyString:String):Assembly

@:final @:overload static Load (rawAssembly:NativeArray<UInt8>, rawSymbolStore:NativeArray<UInt8>, securityEvidence:Evidence):Assembly

@:final @:overload static Load (rawAssembly:NativeArray<UInt8>, rawSymbolStore:NativeArray<UInt8>):Assembly

@:final @:overload static Load (rawAssembly:NativeArray<UInt8>):Assembly

@:final @:overload static Load (assemblyRef:AssemblyName, assemblySecurity:Evidence):Assembly

@:final @:overload static Load (assemblyRef:AssemblyName):Assembly

@:final @:overload static Load (assemblyString:String, assemblySecurity:Evidence):Assembly

@:final @:overload static LoadFile (path:String, securityEvidence:Evidence):Assembly

@:final @:overload static LoadFile (path:String):Assembly

@:final @:overload static LoadFrom (assemblyFile:String):Assembly

@:final @:overload static LoadFrom (assemblyFile:String, securityEvidence:Evidence, hashValue:NativeArray<UInt8>, hashAlgorithm:AssemblyHashAlgorithm):Assembly

@:final @:overload static LoadFrom (assemblyFile:String, securityEvidence:Evidence):Assembly

@:final @:overload static LoadWithPartialName (partialName:String):Assembly

@:final @:overload static LoadWithPartialName (partialName:String, securityEvidence:Evidence):Assembly

@:final @:overload static ReflectionOnlyLoad (rawAssembly:NativeArray<UInt8>):Assembly

@:final @:overload static ReflectionOnlyLoad (assemblyString:String):Assembly

@:final @:overload static ReflectionOnlyLoadFrom (assemblyFile:String):Assembly

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/reflection/Assembly.html