|
namespace FtpSync.Common
{
using System;
/// <summary>
/// Zusammendfassende Beschreibung f�r ArgumentParser.
/// </summary>
public class ArgumentParser
{
public ArgumentParser( string[] args )
{
Args = args;
}
// checks for the presence of a name.
public bool Has( string name )
{
foreach ( string arg in Args )
if ( arg==name )
return true;
// if here, not found.
return false;
}
// --
private string[] Args;
}
}
|
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.