mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
拆分代码4
This commit is contained in:
14
shell/Commands/Power/ShutdownCommand.cs
Normal file
14
shell/Commands/Power/ShutdownCommand.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using Sys = Cosmos.System;
|
||||
|
||||
namespace CMLeonOS.Commands.Power
|
||||
{
|
||||
public static class ShutdownCommand
|
||||
{
|
||||
public static void ProcessShutdown()
|
||||
{
|
||||
Console.WriteLine("Shutting down system...");
|
||||
Sys.Power.Shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user