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

ControlBuilderAttribute.cs « System.Web.UI « System.Web « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b5548119b2d960c3ee5ee27f4363499b24e328c5 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// System.Web.UI.ControlBuilderAttribute.cs
//
// Duncan Mak  (duncan@ximian.com)
//
// (C) Ximian, Inc.

using System;

namespace System.Web.UI {

	[AttributeUsage (AttributeTargets.Class)]
	public sealed class ControlBuilderAttribute : Attribute
	{
		Type builderType;
		public static readonly ControlBuilderAttribute Default;
		
		public ControlBuilderAttribute (Type builderType)
		{
			this.builderType = builderType;
		}

		public Type BuilderType {
			get { return builderType; }
		}

		[MonoTODO]
		public override bool Equals (object obj)
		{
			return false;
		}

		[MonoTODO]
		public override int GetHashCode ()
		{
			return 42;
		}

		[MonoTODO]
		public override bool IsDefaultAttribute ()
		{
			return false;
		}
	}
}