2004-01-04 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System.Reflection / AssemblyDefaultAliasAttribute.cs
1 //
2 // System.Reflection.AssemblyDefaultAliasAttribute.cs
3 //
4 // Author: Duncan Mak <duncan@ximian.com>
5 //
6 // (C) 2002 Ximian, Inc. http://www.ximian.com
7 //
8
9 using System;
10
11 namespace System.Reflection
12 {
13         [AttributeUsage (AttributeTargets.Assembly)]
14         public sealed class AssemblyDefaultAliasAttribute : Attribute
15         {
16                 // Field
17                 private string name;
18                 
19                 // Constructor
20                 public AssemblyDefaultAliasAttribute (string defaultAlias)
21                 {
22                         name = defaultAlias;
23                 }
24                 
25                 // Properties
26                 public string DefaultAlias
27                 {
28                         get { return name; }
29                 }
30         }
31 }