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

AssemblyDescriptionAttribute.cs « System.Reflection « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00beee47ec4b45b4a51852845c9d6ee40ae5edde (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
//
// System.Reflection.AssemblyDescriptionAttribute.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// (C) Ximian, Inc. http://www.ximian.com
//

namespace System.Reflection
{
	[AttributeUsage (AttributeTargets.Assembly)]
	public sealed class AssemblyDescriptionAttribute : Attribute
	{
		// Field
		private string name;
		
		// Constructor
		public AssemblyDescriptionAttribute (string description)
		{
			name = description;
		}

		// Property
		public string Description
		{
			get { return name; }
		}
	}
		
}