aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Nodes/ProjectNode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/src/Core/Nodes/ProjectNode.cs')
-rw-r--r--Prebuild/src/Core/Nodes/ProjectNode.cs28
1 files changed, 22 insertions, 6 deletions
diff --git a/Prebuild/src/Core/Nodes/ProjectNode.cs b/Prebuild/src/Core/Nodes/ProjectNode.cs
index 84d9f5d..c56dacc 100644
--- a/Prebuild/src/Core/Nodes/ProjectNode.cs
+++ b/Prebuild/src/Core/Nodes/ProjectNode.cs
@@ -81,7 +81,7 @@ namespace Prebuild.Core.Nodes
81 /// 81 ///
82 /// </summary> 82 /// </summary>
83 [DataNode("Project")] 83 [DataNode("Project")]
84 public class ProjectNode : DataNode 84 public class ProjectNode : DataNode, IComparable
85 { 85 {
86 #region Fields 86 #region Fields
87 87
@@ -290,7 +290,9 @@ namespace Prebuild.Core.Nodes
290 { 290 {
291 get 291 get
292 { 292 {
293 return m_Configurations.Values; 293 ArrayList tmp = new ArrayList( ConfigurationsTable.Values);
294 tmp.Sort();
295 return tmp;
294 } 296 }
295 } 297 }
296 298
@@ -314,8 +316,10 @@ namespace Prebuild.Core.Nodes
314 { 316 {
315 get 317 get
316 { 318 {
317 return m_ReferencePaths; 319 ArrayList tmp = new ArrayList(m_ReferencePaths);
318 } 320 tmp.Sort();
321 return tmp;
322 }
319 } 323 }
320 324
321 /// <summary> 325 /// <summary>
@@ -326,7 +330,9 @@ namespace Prebuild.Core.Nodes
326 { 330 {
327 get 331 get
328 { 332 {
329 return m_References; 333 ArrayList tmp = new ArrayList(m_References);
334 tmp.Sort();
335 return tmp;
330 } 336 }
331 } 337 }
332 338
@@ -490,5 +496,15 @@ namespace Prebuild.Core.Nodes
490 496
491 497
492 #endregion 498 #endregion
493 } 499
500 #region IComparable Members
501
502 public int CompareTo(object obj)
503 {
504 ProjectNode that = (ProjectNode)obj;
505 return this.m_Name.CompareTo(that.m_Name);
506 }
507
508 #endregion
509 }
494} 510}