Backport of r118813
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ImplicitResourceKey.cs
index ac2bab3c25694c78c93373998114f777417bea17..d829134fd82ff8d87179f153dc198e13a7c6931d 100644 (file)
 #if NET_2_0
 namespace System.Web.Compilation
 {
-        public class ImplicitResourceKey
+        public sealed class ImplicitResourceKey
         {
+               string filter;
+               string keyPrefix;
+               string property;
+
+               public ImplicitResourceKey (string filter, string keyPrefix, string property)
+               {
+                       this.filter = filter;
+                       this.keyPrefix = keyPrefix;
+                       this.property = property;
+               }
+
                 public ImplicitResourceKey ()
                 {
                 }
 
-                public string Filter;
-                public string KeyPrefix;
-                public string Property;
+                public string Filter {
+                       get { return filter; }
+                       set { filter = value; }
+               }
+
+                public string KeyPrefix {
+                       get { return keyPrefix; }
+                       set { keyPrefix = value; }
+               }
+
+                public string Property {
+                       get { return property; }
+                       set { property = value; }
+               }
         }
 }
 #endif