refactor: rename ConsoleTable -> ConsoleDisplayTable for clarity
parent
46a6cab307
commit
5341036261
|
@ -38,7 +38,7 @@ namespace OpenSim.Framework.Console
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Currently subject to change. If you use this, be prepared to change your code when this class changes.
|
/// Currently subject to change. If you use this, be prepared to change your code when this class changes.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public class ConsoleTable
|
public class ConsoleDisplayTable
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default number of spaces between table columns.
|
/// Default number of spaces between table columns.
|
||||||
|
@ -65,7 +65,7 @@ namespace OpenSim.Framework.Console
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int TableSpacing { get; set; }
|
public int TableSpacing { get; set; }
|
||||||
|
|
||||||
public ConsoleTable()
|
public ConsoleDisplayTable()
|
||||||
{
|
{
|
||||||
TableSpacing = DefaultTableSpacing;
|
TableSpacing = DefaultTableSpacing;
|
||||||
Columns = new List<ConsoleTableColumn>();
|
Columns = new List<ConsoleTableColumn>();
|
|
@ -145,7 +145,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
|
||||||
{
|
{
|
||||||
sb.AppendFormat("Attachments for {0}\n", sp.Name);
|
sb.AppendFormat("Attachments for {0}\n", sp.Name);
|
||||||
|
|
||||||
ConsoleTable ct = new ConsoleTable() { Indent = 2 };
|
ConsoleDisplayTable ct = new ConsoleDisplayTable() { Indent = 2 };
|
||||||
ct.Columns.Add(new ConsoleTableColumn("Attachment Name", 36));
|
ct.Columns.Add(new ConsoleTableColumn("Attachment Name", 36));
|
||||||
ct.Columns.Add(new ConsoleTableColumn("Local ID", 10));
|
ct.Columns.Add(new ConsoleTableColumn("Local ID", 10));
|
||||||
ct.Columns.Add(new ConsoleTableColumn("Item ID", 36));
|
ct.Columns.Add(new ConsoleTableColumn("Item ID", 36));
|
||||||
|
|
Loading…
Reference in New Issue