2 // ProjectCollection.cs
5 // Leszek Ciesielski (skolima@gmail.com)
6 // Rolf Bjarne Kvinge (rolf@xamarin.com)
8 // (C) 2011 Leszek Ciesielski
9 // Copyright (C) 2011 Xamarin Inc.
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:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
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.
31 using Microsoft.Build.Construction;
32 using Microsoft.Build.Framework;
33 using Microsoft.Build.Logging;
35 using System.Collections.Generic;
37 namespace Microsoft.Build.Evaluation
39 public class ProjectCollection : IDisposable
41 public ProjectCollection ()
45 public ProjectCollection (IDictionary<string, string> globalProperties)
46 : this (globalProperties, null, ToolsetDefinitionLocations.Registry | ToolsetDefinitionLocations.ConfigurationFile)
50 public ProjectCollection (ToolsetDefinitionLocations toolsetDefinitionLocations)
51 : this (null, null, toolsetDefinitionLocations)
55 public ProjectCollection (IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers,
56 ToolsetDefinitionLocations toolsetDefinitionLocations)
57 : this (globalProperties, loggers, null, toolsetDefinitionLocations, 1, false)
61 public ProjectCollection (IDictionary<string, string> globalProperties,
62 IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers,
63 ToolsetDefinitionLocations toolsetDefinitionLocations,
64 int maxNodeCount, bool onlyLogCriticalEvents)
66 throw new NotImplementedException ();
69 public static string Escape (string unescapedString)
71 return unescapedString;
74 public static ProjectCollection GlobalProjectCollection {
75 get { return globalProjectCollection; }
78 public void Dispose ()
81 GC.SuppressFinalize (this);
84 protected virtual void Dispose (bool disposing)
90 static ProjectCollection globalProjectCollection = new ProjectCollection ();
92 public ICollection<Project> GetLoadedProjects (string fullPath)
94 throw new NotImplementedException ();
97 public ToolsetDefinitionLocations ToolsetLocations {
98 get { throw new NotImplementedException (); }
101 public ICollection<Toolset> Toolsets {
102 get { throw new NotImplementedException (); }
105 public void UnloadAllProjects ()
107 throw new NotImplementedException ();
110 public void UnloadProject (Project project)
112 throw new NotImplementedException ();
115 public void UnloadProject (ProjectRootElement projectRootElement)
117 throw new NotImplementedException ();
120 public static Version Version {
121 get { throw new NotImplementedException (); }