C# Class CatalogOfFreeContent.Common.Command

Inheritance: ICommand
Mostra file Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
Command ( string input ) : System
GetCommandNameEndIndex ( ) : int
ParseCommandType ( string commandName ) : CommandType
ParseName ( ) : string
ParseParameters ( ) : string[]
ToString ( ) : string

Private Methods

Method Description
Parse ( ) : void
TrimParams ( ) : void

Method Details

Command() public method

public Command ( string input ) : System
input string
return System

GetCommandNameEndIndex() public method

public GetCommandNameEndIndex ( ) : int
return int

ParseCommandType() public method

public ParseCommandType ( string commandName ) : CommandType
commandName string
return CommandType

ParseName() public method

public ParseName ( ) : string
return string

ParseParameters() public method

public ParseParameters ( ) : string[]
return string[]

ToString() public method

public ToString ( ) : string
return string