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

TemplateEditingVerb.cs « System.Web.UI.Design « System.Design « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0d96f467f681300212350249bc775033437b4150 (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
46
47
48
//
// System.Web.UI.Design.TemplateEditingVerb
//
// Authors:
//      Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//

using System;
using System.ComponentModel.Design;

namespace System.Web.UI.Design
{
	public class TemplateEditingVerb : DesignerVerb, IDisposable
	{
		public TemplateEditingVerb (string text, int index, TemplatedControlDesigner designer) : base (text, designer.TemplateEditingVerbHandler)
		{
			_index = index;
		}

		~TemplateEditingVerb ()
		{
			Dispose (false);
		}

		public void Dispose ()
		{
			Dispose (true);
			GC.SuppressFinalize (this);
		}

		[MonoTODO]
		protected virtual void Dispose (bool disposing)
		{
			if (disposing) {
			}
		}

		public int Index {
			get {
				return _index;
			}
		}

		private int _index;
	}
}