C# Class ZeroInstall.Publish.Capture.CommandMapper

Maps command-lines to the best matching Command.
ファイルを表示 Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
CommandMapper ( [ installationDir, [ commmands ) : System

Creates a new command provider.

Private Methods

Method Description
GetCommand ( [ commandLine, [ additionalArgs ) : Command
GetCommandTuple ( string installationDir, Command command, bool escapePath ) : CommandTuple

Method Details

CommandMapper() public method

Creates a new command provider.
public CommandMapper ( [ installationDir, [ commmands ) : System
installationDir [ The fully qualified path to the installation directory.
commmands [ A list of all known-commands available within the installation directory.
return System