From 8f88c17df969b1fd3e4a93747201e9436c9a1fcd Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Wed, 23 May 2012 03:23:37 +0100
Subject: refactor: Rename ConsoleTableRow and ConsoleTableColumn to
ConsoleDisplayTableRow and ConsoleDisplayTableColumn
---
OpenSim/Framework/Console/ConsoleDisplayTable.cs | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
(limited to 'OpenSim/Framework')
diff --git a/OpenSim/Framework/Console/ConsoleDisplayTable.cs b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
index 49d5a17..e9d1628 100644
--- a/OpenSim/Framework/Console/ConsoleDisplayTable.cs
+++ b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
@@ -48,12 +48,12 @@ namespace OpenSim.Framework.Console
///
/// Table columns.
///
- public List Columns { get; private set; }
+ public List Columns { get; private set; }
///
/// Table rows
///
- public List Rows { get; private set; }
+ public List Rows { get; private set; }
///
/// Number of spaces to indent the table.
@@ -68,8 +68,8 @@ namespace OpenSim.Framework.Console
public ConsoleDisplayTable()
{
TableSpacing = DefaultTableSpacing;
- Columns = new List();
- Rows = new List();
+ Columns = new List();
+ Rows = new List();
}
public override string ToString()
@@ -88,7 +88,7 @@ namespace OpenSim.Framework.Console
sb.AppendFormat(formatString, Columns.ConvertAll(c => c.Header).ToArray());
// rows
- foreach (ConsoleTableRow row in Rows)
+ foreach (ConsoleDisplayTableRow row in Rows)
sb.AppendFormat(formatString, row.Cells.ToArray());
}
@@ -115,23 +115,23 @@ namespace OpenSim.Framework.Console
}
}
- public struct ConsoleTableColumn
+ public struct ConsoleDisplayTableColumn
{
public string Header { get; set; }
public int Width { get; set; }
- public ConsoleTableColumn(string header, int width) : this()
+ public ConsoleDisplayTableColumn(string header, int width) : this()
{
Header = header;
Width = width;
}
}
- public struct ConsoleTableRow
+ public struct ConsoleDisplayTableRow
{
public List Cells { get; private set; }
- public ConsoleTableRow(List cells) : this()
+ public ConsoleDisplayTableRow(List cells) : this()
{
Cells = cells;
}
--
cgit v1.1