Cosmos/source/FrodeTest/Application/IConsoleApplication.cs
Scalpel_cp a96c1729e5 Plugged String.LastIndexOf.
Added parameter checking for Directory.GetDirectories and Directory.GetFiles plugs.
Lots of changes to FrodeTest.
2008-07-30 22:56:59 +00:00

27 lines
680 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrodeTest.Application
{
interface IConsoleApplication
{
/// <summary>
/// Runs the command.
/// </summary>
/// <param name="args"></param>
/// <returns>0 for success, negative number for general error</returns>
int Execute(string[] args);
/// <summary>
/// The single-word command.
/// </summary>
string CommandName { get; }
/// <summary>
/// A descriptive text for this command.
/// </summary>
string Description { get; }
}
}