Просмотр исходного кода

2008-09-13 Atsushi Enomoto <[email protected]>

	* System.Web.dll.sources: added
	  System.Web.UI/CssClassPropertyAttribute.cs.

	* CssClassPropertyAttribute.cs : new in 3.5 SP1.


svn path=/trunk/mcs/; revision=112936
Atsushi Eno 17 лет назад
Родитель
Сommit
f0ec7f3bfa

+ 5 - 0
mcs/class/System.Web/ChangeLog

@@ -1,3 +1,8 @@
+2008-09-13  Atsushi Enomoto  <[email protected]>
+
+	* System.Web.dll.sources: added
+	  System.Web.UI/CssClassPropertyAttribute.cs.
+
 2008-09-13  Atsushi Enomoto  <[email protected]>
 
 	* System.Web.dll.sources: added System.Web.UI/IBindableControl.cs.

+ 4 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -1,3 +1,7 @@
+2008-09-13  Atsushi Enomoto  <[email protected]>
+
+	* CssClassPropertyAttribute.cs : new in 3.5 SP1.
+
 2008-09-13  Atsushi Enomoto  <[email protected]>
 
 	* IBindableControl.cs : new in 3.5 SP1.

+ 45 - 0
mcs/class/System.Web/System.Web.UI/CssClassPropertyAttribute.cs

@@ -0,0 +1,45 @@
+//
+// System.Web.UI.CssClassPropertyAttribute
+//
+// Authors:
+//	Atsushi Enomoto  <[email protected]>
+//
+// (C) 2008 Novell, Inc. (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+using System;
+using System.ComponentModel;
+using System.Security.Permissions;
+
+namespace System.Web.UI {
+	[AttributeUsage (AttributeTargets.Property)]
+	[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+	public sealed class CssClassPropertyAttribute : Attribute
+	{
+		public CssClassPropertyAttribute ()
+		{
+		}
+	}
+}
+#endif

+ 1 - 0
mcs/class/System.Web/System.Web.dll.sources

@@ -527,6 +527,7 @@ System.Web.UI/Control.cs
 System.Web.UI/ControlSkin.cs
 System.Web.UI/ControlSkinDelegate.cs
 System.Web.UI/ControlValuePropertyAttribute.cs
+System.Web.UI/CssClassPropertyAttribute.cs
 System.Web.UI/CssStyleCollection.cs
 System.Web.UI/DataBinder.cs
 System.Web.UI/DataBindingBuilder.cs