Assigns a unique identifier to an assembly. This assembly identifier is used to generate unique attribute identifiers.
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class AssemblyIdAttribute : Attribute
Remarks
By default, the assembly identifier is computed from the module name (by using the first 4 bytes of the MD5 sum of the module name).
Constructors
Name | Description |
---|---|
AssemblyIdAttribute(int) | Initializes a new AssemblyIdAttribute. |
Properties
Name | Description |
---|---|
AssemblyId | Gets the assembly id. |