NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly Methods

The methods of the Assembly class are listed below. For a complete list of Assembly class members, see the Assembly Members topic.

Public:

CreateInstance Overloaded. [To be supplied.]
CreateQualifiedName Creates the name of a type qualified by the display name of its assembly.
DefineDynamicModule Overloaded. Overloaded. Defines a dynamic module in this assembly.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetAssembly Gets the assembly in which the specified class is defined.
GetCustomAttributes Overloaded. Overloaded. Gets the custom attributes for this assembly.
GetExecutingAssembly Gets the Assembly that the current code is running from.
GetExportedTypes Gets the public types defined in this assembly.
GetFile Gets a FileStream for the specified file in the file table of the manifest of this assembly.
GetFiles Gets a FileStream for each file in the file table of the manifest of this assembly.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLoadedModules Gets all the loaded modules that are part of this assembly.
GetManifestResourceNames Returns the names of all the resources in this assembly.
GetManifestResourceStream Overloaded. Overloaded. Loads the specified resource from this assembly.
GetModule Gets the specified module in this assembly.
GetModules Gets all the modules that are part of this assembly.
GetName Overloaded. Overloaded. Gets the AssemblyName of this assembly.
GetObjectData Gets serialization information with all of the data needed to reinstantiate this assembly.
GetReferencedAssemblies Gets the AssemblyName objects for all the assemblies referenced by this assembly.
GetSatelliteAssembly Gets the satellite assembly for the specified culture.
GetType Overloaded. Overloaded. Gets the Type object that represents the specified type.
GetTypes Gets the types defined in this assembly.
IsDefined Checks if a custom attribute identified by the specified Type is defined.
Load Overloaded. [To be supplied.]
LoadFrom Overloaded. [To be supplied.]
nCreateQualifiedName Creates a name that qualifies the supplied type name with the supplied display name of an assembly.
SetObjectData Reflate this assembly using all of the information in the specified SerializationInfo object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Event Hookup:

AddOnResourceResolve Subscribes to the "resource resolve" event. The "resource resolve" event is raised when a resource is loaded.
AddOnTypeResolve Subscribes to the "type resolve" event. The "type resolve" event is raised when a type is loaded.
RemoveOnResourceResolve Unsubscribes to the "resource resolve" event. The "resource resolve" event is raised when a resource is loaded.
RemoveOnTypeResolve Unsubscribes to the "type resolve" event. The "type resolve" event is raised when a type is loaded.

See Also

Assembly Class | System.Reflection Namespace