Merge pull request #268 from pcc/menudeactivate
[mono.git] / mcs / class / Microsoft.Build / Microsoft.Build.Evaluation / ProjectCollection.cs
1 //
2 // ProjectCollection.cs
3 //
4 // Author:
5 //   Leszek Ciesielski (skolima@gmail.com)
6 //   Rolf Bjarne Kvinge (rolf@xamarin.com)
7 //
8 // (C) 2011 Leszek Ciesielski
9 // Copyright (C) 2011 Xamarin Inc.
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 using Microsoft.Build.Construction;
32 using Microsoft.Build.Framework;
33 using Microsoft.Build.Logging;
34
35 using System;
36 using System.Collections.Generic;
37
38 namespace Microsoft.Build.Evaluation
39 {
40         public class ProjectCollection : IDisposable
41         {
42                 public ProjectCollection ()
43                 {
44                 }
45
46                 public ProjectCollection (IDictionary<string, string> globalProperties)
47                         : this (globalProperties, null, ToolsetDefinitionLocations.Registry | ToolsetDefinitionLocations.ConfigurationFile)
48                 {
49                 }
50
51                 public ProjectCollection (ToolsetDefinitionLocations toolsetDefinitionLocations)
52                         : this (null, null, toolsetDefinitionLocations)
53                 {
54                 }
55
56                 public ProjectCollection (IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers,
57                                 ToolsetDefinitionLocations toolsetDefinitionLocations)
58                         : this (globalProperties, loggers, null, toolsetDefinitionLocations, 1, false)
59                 {
60                 }
61
62                 public ProjectCollection (IDictionary<string, string> globalProperties,
63                                 IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers,
64                                 ToolsetDefinitionLocations toolsetDefinitionLocations,
65                                 int maxNodeCount, bool onlyLogCriticalEvents)
66                 {
67                         throw new NotImplementedException ();
68                 }
69
70                 public static string Escape (string unescapedString)
71                 {
72                         return unescapedString;
73                 }
74
75                 public static ProjectCollection GlobalProjectCollection {
76                         get { return globalProjectCollection; }
77                 }
78
79                 public void Dispose ()
80                 {
81                         Dispose (true);
82                         GC.SuppressFinalize (this);
83                 }
84
85                 protected virtual void Dispose (bool disposing)
86                 {
87                         if (disposing) {
88                         }
89                 }
90
91                 static ProjectCollection globalProjectCollection = new ProjectCollection ();
92
93                 public ICollection<Project> GetLoadedProjects (string fullPath)
94                 {
95                         throw new NotImplementedException ();
96                 }
97
98                 public ToolsetDefinitionLocations ToolsetLocations {
99                         get { throw new NotImplementedException (); }
100                 }
101
102                 public ICollection<Toolset> Toolsets {
103                         get { throw new NotImplementedException (); }
104                 }
105
106                 public void UnloadAllProjects ()
107                 {
108                         throw new NotImplementedException ();
109                 }
110
111                 public void UnloadProject (Project project)
112                 {
113                         throw new NotImplementedException ();
114                 }
115
116                 public void UnloadProject (ProjectRootElement projectRootElement)
117                 {
118                         throw new NotImplementedException ();
119                 }
120
121                 public static Version Version {
122                         get { throw new NotImplementedException (); }
123                 }
124         }
125 }