svn path=/branches/mono-1-1-9/mcs/; revision=50439
[mono.git] / mcs / class / System.Web / System.Web.UI / TemplateContainerAttribute.cs
old mode 100755 (executable)
new mode 100644 (file)
index aaf2bf5..aac8d00
@@ -28,6 +28,7 @@
 //
 
 using System;
+using System.ComponentModel;
 
 namespace System.Web.UI {
 
@@ -36,6 +37,20 @@ namespace System.Web.UI {
        {
                Type containerType;
                
+#if NET_2_0
+               BindingDirection direction;
+               
+               public TemplateContainerAttribute (Type containerType, BindingDirection direction)
+               {
+                       this.containerType = containerType;
+                       this.direction = direction;
+               }
+               
+               public BindingDirection BindingDirection {
+                       get { return direction; }
+               }
+#endif
+               
                public TemplateContainerAttribute (Type containerType)
                {
                        this.containerType = containerType;