using System;
namespace AsterNET.FastAGI.Command
{
///
/// Sets the extension for continuation upon exiting the application.
///
public class SetExtensionCommand : AGICommand
{
///
/// Get/Set the extension for continuation upon exiting the application.
///
/// the extension for continuation upon exiting the application.
/// the extension for continuation upon exiting the application.
public string Extension
{
get { return extension; }
set { this.extension = value; }
}
/// The extension for continuation upon exiting the application.
private string extension;
///
/// Creates a new SetPriorityCommand.
///
/// the extension for continuation upon exiting the application.
public SetExtensionCommand(string extension)
{
this.extension = extension;
}
public override string BuildCommand()
{
return "SET EXTENSION " + EscapeAndQuote(extension);
}
}
}