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!

AssemblyBuilder Members

Public:

Properties

CodeBase (inherited from Assembly) This read-only property returns the location of the assembly as specified originally, for example, in an AssemblyName object.
CopiedCodeBase (inherited from Assembly) This read-only property returns the location from which the assembly was loaded. This will be different from the value of CodeBase if the assembly is a shadow copy.
EntryPoint (inherited from Assembly) Read-only. Gets the entry point of this assembly.
Evidence (inherited from Assembly) This read-only property returns the evidence for this assembly.
FullName (inherited from Assembly) This read-only property returns the display name of the assembly.
IsShared (inherited from Assembly) This read-only property checks if this assembly has code that is shared across multiple application domains.
ShareCount (inherited from Assembly) This read-only property returns the number of application domains that are currently sharing the code for this assembly.

Methods

CreateInstance (inherited from Assembly) Overloaded. [To be supplied.]
DefineDynamicModule (inherited from Assembly) Overloaded. Overloaded. Defines a dynamic module in this assembly.
DefineResource Overloaded. [To be supplied.]
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).
GetCustomAttributes (inherited from Assembly) Overloaded. Overloaded. Gets the custom attributes for this assembly.
GetDynamicModule Returns the dynamic module with the specified name.
GetExportedTypes (inherited from Assembly) Gets the public types defined in this assembly.
GetFile (inherited from Assembly) Gets a FileStream for the specified file in the file table of the manifest of this assembly.
GetFiles (inherited from Assembly) 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 (inherited from Assembly) Gets all the loaded modules that are part of this assembly.
GetManifestResourceNames (inherited from Assembly) Returns the names of all the resources in this assembly.
GetManifestResourceStream (inherited from Assembly) Overloaded. Overloaded. Loads the specified resource from this assembly.
GetModule (inherited from Assembly) Gets the specified module in this assembly.
GetModules (inherited from Assembly) Gets all the modules that are part of this assembly.
GetName (inherited from Assembly) Overloaded. Overloaded. Gets the AssemblyName of this assembly.
GetObjectData (inherited from Assembly) Gets serialization information with all of the data needed to reinstantiate this assembly.
GetReferencedAssemblies (inherited from Assembly) Gets the AssemblyName objects for all the assemblies referenced by this assembly.
GetSatelliteAssembly (inherited from Assembly) Gets the satellite assembly for the specified culture.
GetType (inherited from Assembly) Overloaded. Overloaded. Gets the Type object that represents the specified type.
GetTypes (inherited from Assembly) Gets the types defined in this assembly.
IsDefined (inherited from Assembly) Checks if a custom attribute identified by the specified Type is defined.
Save Saves this dynamic assembly to disk. Save also saves all dynamic modules defined in this dynamic assembly. The assembly file name can be the same as one of the module's name. If so, the assembly information is stored within that module. The assembly file name can be different from the names of all of the modules contained within the assembly. If so, the assembly is stored standalone.
SetCustomAttribute Overloaded. [To be supplied.]
SetEntryPoint Sets the entry point for this dynamic assembly if the AssemblyBuilder is building an executable.
SetObjectData (inherited from Assembly) 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.

Events

ResourceResolve (inherited from Assembly) [To be supplied.]
TypeResolve (inherited from Assembly) [To be supplied.]

Protected:

Methods

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:

Methods

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

See Also

AssemblyBuilder Class | System.Reflection.Emit Namespace