AssemblyEnvelope Class |
Represents an assembly understood basically, internally, as a collection
of modules (ModuleDeclaration) and, externally, as a collection
of exported types.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class AssemblyEnvelope : Element, IAssembly, IAssemblyName, ITaggable, IElement, INamed, IAssemblyIdentity, IDisposable
The AssemblyEnvelope type exposes the following members.
Name | Description | |
---|---|---|
Culture | ||
Guid | ||
IsReferenceAssembly | ||
IsRetargetable | ||
IsStronglyNamed | ||
Location |
Gets the full path of the file from which the assembly has been loaded.
| |
ManifestModule |
Gets the module containing the assembly manifest (AssemblyManifestDeclaration).
| |
Modules |
Gets the collection of modules contained in this assembly.
| |
Name | ||
Path | ||
ProcessorArchitecture | ||
TargetFramework | ||
Version |
Name | Description | |
---|---|---|
ClearCache |
Clear the cache (typically mapping to System.Reflection or,
if the current element is a reference, to the related definition)
of the current Element and all its children.
(Inherited from Element.) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(IAssembly) | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPublicKey | ||
GetPublicKeyToken | ||
GetSystemAssembly |
Gets the reflection Assembly corresponding
to the current instance.
| |
GetTag<T> |
Gets a tag associated with the current declaration.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeDefinition(String) |
Gets a type defined in this assembly given its name.
| |
GetTypeDefinition(String, BindingOptions) |
Gets a type defined in this assembly given its name.
| |
MatchesReference | ||
SetTag<T> |
Set a tag to the current declaration.
| |
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) |
Do not mistake for AssemblyManifestDeclaration, which is the assembly manifest and is contained
in one of the module of the assembly.