mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
Added parameter checking for Directory.GetDirectories and Directory.GetFiles plugs. Lots of changes to FrodeTest.
31 lines
598 B
C#
31 lines
598 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace FrodeTest.Application
|
|
{
|
|
class reboot : IConsoleApplication
|
|
{
|
|
#region IConsoleApplication Members
|
|
|
|
public int Execute(string[] args)
|
|
{
|
|
Cosmos.Sys.Deboot.Reboot();
|
|
|
|
return 0;
|
|
}
|
|
|
|
public string CommandName
|
|
{
|
|
get { return "reboot"; }
|
|
}
|
|
|
|
public string Description
|
|
{
|
|
get { return "Restarts the computer."; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|