Name

AssemblyDefaultAliasAttribute

Synopsis

This custom attribute specifies a friendly name for an assembly. This is useful when assemblies have cryptic names such as GUIDs, as COM components do.

public sealed class AssemblyDefaultAliasAttribute : Attribute {
// Public Constructors
   public AssemblyDefaultAliasAttribute(string defaultAlias);
// Public Instance Properties
   public string DefaultAlias{get; }
}

Hierarchy

System.Object System.Attribute AssemblyDefaultAliasAttribute

Valid On

Assembly

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.