2007-01-16 Marek Sieradzki <marek.sieradzki@gmail.com>
[mono.git] / mcs / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / BuildChoose.cs
index 58007611292ebdb7ba35c0136c29fa0647fd0835..240718478eac0a6b684b64a0a29847133ecc7c99 100644 (file)
 // 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.Collections;
+using System.Collections.Generic;
 using System.Xml;
 
 namespace Microsoft.Build.BuildEngine {
        internal class BuildChoose {
                
-               bool            isImported;
                BuildWhen       otherwise;
-               Project         project;
-               IList           whens;
+               //Project               project;
+               //XmlElement    xmlElement;
+               List <BuildWhen>        whens;
                
-               public BuildChoose (bool imported, Project project)
+               public BuildChoose (XmlElement xmlElement, Project project)
                {
-                       this.isImported = imported;
-                       this.project = project; 
-                       this.whens = new ArrayList ();
+                       //this.xmlElement = xmlElement;
+                       //this.project = project;
+                       this.whens = new List <BuildWhen> ();
                }
                
-               public void BindToXml (XmlElement chooseElement)
+               public void Evaluate ()
                {
                }
                
-               public bool IsImported {
-                       get { return isImported; }
-                       set { isImported = value; }
-               }
+               //public bool IsImported {
+               //      get { return isImported; }
+               //      set { isImported = value; }
+               //}
                
                public BuildWhen Otherwise {
                        get { return otherwise; }
                        set { otherwise = value; }
                }
                
-               public IList Whens {
+               public List <BuildWhen> Whens {
                        get { return whens; }
                        set { whens = value; }
                }
        }
 }
+
+#endif