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;
36 using System.Collections.Generic;
38 namespace Microsoft.Build.Evaluation
40 public class ProjectCollection : IDisposable
42 public ProjectCollection ()
46 public ProjectCollection (IDictionary<string, string> globalProperties)
47 : this (globalProperties, null, ToolsetDefinitionLocations.Registry | ToolsetDefinitionLocations.ConfigurationFile)
51 public ProjectCollection (ToolsetDefinitionLocations toolsetDefinitionLocations)
52 : this (null, null, toolsetDefinitionLocations)
56 public ProjectCollection (IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers,
57 ToolsetDefinitionLocations toolsetDefinitionLocations)
58 : this (globalProperties, loggers, null, toolsetDefinitionLocations, 1, false)
62 public ProjectCollection (IDictionary<string, string> globalProperties,
63 IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers,
64 ToolsetDefinitionLocations toolsetDefinitionLocations,
65 int maxNodeCount, bool onlyLogCriticalEvents)
67 throw new NotImplementedException ();
70 public static string Escape (string unescapedString)
72 return unescapedString;
75 public static ProjectCollection GlobalProjectCollection {
76 get { return globalProjectCollection; }
79 public void Dispose ()
82 GC.SuppressFinalize (this);
85 protected virtual void Dispose (bool disposing)
91 static ProjectCollection globalProjectCollection = new ProjectCollection ();
93 public ICollection<Project> GetLoadedProjects (string fullPath)
95 throw new NotImplementedException ();
98 public ToolsetDefinitionLocations ToolsetLocations {
99 get { throw new NotImplementedException (); }
102 public ICollection<Toolset> Toolsets {
103 get { throw new NotImplementedException (); }
106 public void UnloadAllProjects ()
108 throw new NotImplementedException ();
111 public void UnloadProject (Project project)
113 throw new NotImplementedException ();
116 public void UnloadProject (ProjectRootElement projectRootElement)
118 throw new NotImplementedException ();
121 public static Version Version {
122 get { throw new NotImplementedException (); }