From 3a20a7b5d1d3a70b203721f240f938fc221de732 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 14 Jun 2007 11:01:38 +0000 Subject: * Applied Prebuild fixes to Sugilite * Rebuilt project files * ignored some bins --- Prebuild/src/Core/Nodes/ProjectNode.cs | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'Prebuild/src/Core/Nodes/ProjectNode.cs') 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 /// /// [DataNode("Project")] - public class ProjectNode : DataNode + public class ProjectNode : DataNode, IComparable { #region Fields @@ -290,7 +290,9 @@ namespace Prebuild.Core.Nodes { get { - return m_Configurations.Values; + ArrayList tmp = new ArrayList( ConfigurationsTable.Values); + tmp.Sort(); + return tmp; } } @@ -314,8 +316,10 @@ namespace Prebuild.Core.Nodes { get { - return m_ReferencePaths; - } + ArrayList tmp = new ArrayList(m_ReferencePaths); + tmp.Sort(); + return tmp; + } } /// @@ -326,7 +330,9 @@ namespace Prebuild.Core.Nodes { get { - return m_References; + ArrayList tmp = new ArrayList(m_References); + tmp.Sort(); + return tmp; } } @@ -490,5 +496,15 @@ namespace Prebuild.Core.Nodes #endregion - } + + #region IComparable Members + + public int CompareTo(object obj) + { + ProjectNode that = (ProjectNode)obj; + return this.m_Name.CompareTo(that.m_Name); + } + + #endregion + } } -- cgit v1.1