Skip to content

Commit 2f7a264

Browse files
committed
rename ConsoleTopExample to cxtop across solution, folder, project, namespaces, and docs
1 parent e93367e commit 2f7a264

20 files changed

Lines changed: 45 additions & 45 deletions

Examples/ConsoleTopExample/Configuration/ConsoleTopConfig.cs renamed to Examples/cxtop/Configuration/ConsoleTopConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace ConsoleTopExample.Configuration;
1+
namespace cxtop.Configuration;
22

33
internal sealed record ConsoleTopConfig
44
{

Examples/ConsoleTopExample/Dashboard/DashboardWindow.cs renamed to Examples/cxtop/Dashboard/DashboardWindow.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using ConsoleTopExample.Configuration;
2-
using ConsoleTopExample.Helpers;
3-
using ConsoleTopExample.Stats;
4-
using ConsoleTopExample.Tabs;
1+
using cxtop.Configuration;
2+
using cxtop.Helpers;
3+
using cxtop.Stats;
4+
using cxtop.Tabs;
55
using SharpConsoleUI;
66
using SharpConsoleUI.Animation;
77
using SharpConsoleUI.Builders;
@@ -11,7 +11,7 @@
1111
using SharpConsoleUI.Layout;
1212
using SharpConsoleUI.Rendering;
1313

14-
namespace ConsoleTopExample.Dashboard;
14+
namespace cxtop.Dashboard;
1515

1616
internal sealed class DashboardWindow
1717
{

Examples/ConsoleTopExample/Helpers/HistoryTracker.cs renamed to Examples/cxtop/Helpers/HistoryTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace ConsoleTopExample.Helpers;
1+
namespace cxtop.Helpers;
22

33
internal sealed class HistoryTracker
44
{

Examples/ConsoleTopExample/Helpers/UIConstants.cs renamed to Examples/cxtop/Helpers/UIConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using SharpConsoleUI;
22

3-
namespace ConsoleTopExample.Helpers;
3+
namespace cxtop.Helpers;
44

55
internal static class UIConstants
66
{
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// -----------------------------------------------------------------------
2-
// ConsoleTopExample - ntop/btop-inspired live dashboard
2+
// cxtop - ntop/btop-inspired live dashboard
33
// Demonstrates full-screen window with Spectre renderables and SharpConsoleUI controls
44
// Modernized with AgentStudio aesthetics and simplified UX
55
// -----------------------------------------------------------------------
66

7-
using ConsoleTopExample.Configuration;
8-
using ConsoleTopExample.Dashboard;
9-
using ConsoleTopExample.Stats;
7+
using cxtop.Configuration;
8+
using cxtop.Dashboard;
9+
using cxtop.Stats;
1010
using SharpConsoleUI;
1111
using SharpConsoleUI.Configuration;
1212
using SharpConsoleUI.Drivers;
1313
using SharpConsoleUI.Helpers;
1414

15-
namespace ConsoleTopExample;
15+
namespace cxtop;
1616

1717
internal class Program
1818
{
@@ -42,9 +42,9 @@ static async Task<int> Main(string[] args)
4242
var dashboard = new DashboardWindow(windowSystem, stats, config);
4343
dashboard.Create();
4444

45-
windowSystem.LogService.LogInfo("Starting ConsoleTopExample");
45+
windowSystem.LogService.LogInfo("Starting cxtop");
4646
await Task.Run(() => windowSystem.Run());
47-
windowSystem.LogService.LogInfo("ConsoleTopExample stopped");
47+
windowSystem.LogService.LogInfo("cxtop stopped");
4848
return 0;
4949
}
5050
catch (Exception ex)

Examples/ConsoleTopExample/Stats/ISystemStatsProvider.cs renamed to Examples/cxtop/Stats/ISystemStatsProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// License: MIT
77
// -----------------------------------------------------------------------
88

9-
namespace ConsoleTopExample.Stats;
9+
namespace cxtop.Stats;
1010

1111
/// <summary>
1212
/// Platform-independent interface for collecting system statistics.

Examples/ConsoleTopExample/Stats/LinuxSystemStats.cs renamed to Examples/cxtop/Stats/LinuxSystemStats.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
using System.Globalization;
1010

11-
namespace ConsoleTopExample.Stats;
11+
namespace cxtop.Stats;
1212

1313
/// <summary>
1414
/// Linux-specific implementation of system statistics collection.

Examples/ConsoleTopExample/Stats/SystemModels.cs renamed to Examples/cxtop/Stats/SystemModels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// License: MIT
77
// -----------------------------------------------------------------------
88

9-
namespace ConsoleTopExample.Stats;
9+
namespace cxtop.Stats;
1010

1111
/// <summary>
1212
/// Per-core CPU usage statistics

Examples/ConsoleTopExample/Stats/SystemStatsFactory.cs renamed to Examples/cxtop/Stats/SystemStatsFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
using System.Runtime.InteropServices;
1010

11-
namespace ConsoleTopExample.Stats;
11+
namespace cxtop.Stats;
1212

1313
/// <summary>
1414
/// Factory for creating platform-specific system statistics providers.

Examples/ConsoleTopExample/Stats/WindowsSystemStats.cs renamed to Examples/cxtop/Stats/WindowsSystemStats.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Runtime.InteropServices;
1212
using System.Runtime.Versioning;
1313

14-
namespace ConsoleTopExample.Stats;
14+
namespace cxtop.Stats;
1515

1616
/// <summary>
1717
/// Windows-specific implementation of system statistics collection.

0 commit comments

Comments
 (0)