Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AssemblyDefaultAliasAttribute.cs « System.Reflection « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f91c93149178376032a051334607e277664a0a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// System.Reflection.AssemblyDefaultAliasAttribute.cs
//
// Author: Duncan Mak <duncan@ximian.com>
//
// (C) 2002 Ximian, Inc. http://www.ximian.com
//

using System;

namespace System.Reflection
{
	[AttributeUsage (AttributeTargets.Assembly)]
	public sealed class AssemblyDefaultAliasAttribute : Attribute
	{
		// Field
		private string name;
		
		// Constructor
		public AssemblyDefaultAliasAttribute (string defaultAlias)
		{
			name = defaultAlias;
		}
		
		// Properties
		public string DefaultAlias
		{
			get { return name; }
		}
	}
}