|
////////////////////////////////////////////////////////////////////////////////////
// Command.cs
//
// By Scott McMaster (smcmaste@hotmail.com)
// 2/1/2006
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
////////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections;
namespace WebCacheTool
{
/// <summary>
/// Base class for all our commands.
/// </summary>
public abstract class Command
{
/// <summary>
/// Display usage information for this command.
/// </summary>
public abstract string Usage
{
get;
}
/// <summary>
/// Display help for this command.
/// </summary>
public abstract string HelpText
{
get;
}
/// <summary>
/// Execute this command.
/// </summary>
public abstract void Execute(ICollection args);
public Command()
{
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
I have over 10 years of full-lifecycle software development experience on a variety of large projects. I have a B.S. in Math from the University of Nebraska-Lincoln, a Masters in Software Engineering from Seattle University, and a Masters in Computer Science from the University of Maryland. I specialize in building and installing tools, frameworks, and processes that improve developer productivity and product quality. I am currently based in the Seattle area.