X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FDesignTimeParseData.cs;h=6de982c652073f0e59bdd64061eec70889299ec1;hb=4428d538123e48267b4ced413e1be2fdc4011b9a;hp=bf7dc787f7e8dbb9f63df80ae99f6ffb101b8bb4;hpb=3c22594b57224fa7acd07162c91de60053cfdee4;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/DesignTimeParseData.cs b/mcs/class/System.Web/System.Web.UI/DesignTimeParseData.cs index bf7dc787f7e..6de982c6520 100644 --- a/mcs/class/System.Web/System.Web.UI/DesignTimeParseData.cs +++ b/mcs/class/System.Web/System.Web.UI/DesignTimeParseData.cs @@ -7,7 +7,7 @@ // // -// Copyright (C) 2005 Novell, Inc (http://www.novell.com) +// Copyright (C) 2005-2010 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 @@ -42,24 +42,26 @@ namespace System.Web.UI { string text; IDesignerHost host; string durl; -#if NET_2_0 string filter; bool theme; ICollection collection; -#endif public DesignTimeParseData (IDesignerHost designerHost, string parseText) { host = designerHost; text = parseText; } -#if NET_2_0 + public DesignTimeParseData (IDesignerHost designerHost, string parseText, string filter) : this (designerHost, parseText) { this.filter = filter; } -#endif + + internal void SetCollection (ICollection collection) + { + this.collection = collection; + } public EventHandler DataBindingHandler { get { @@ -92,7 +94,7 @@ namespace System.Web.UI { return text; } } -#if NET_2_0 + public string Filter { get { return filter; } } @@ -106,6 +108,5 @@ namespace System.Web.UI { public ICollection UserControlRegisterEntries { get { return collection; } } -#endif } }