C# Class CatalogOfFreeContent.Common.Command

Inheritance: ICommand
Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

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

Private Methods

Méthode Description
Parse ( ) : void
TrimParams ( ) : void

Method Details

Command() public méthode

public Command ( string input ) : System
input string
Résultat System

GetCommandNameEndIndex() public méthode

public GetCommandNameEndIndex ( ) : int
Résultat int

ParseCommandType() public méthode

public ParseCommandType ( string commandName ) : CommandType
commandName string
Résultat CommandType

ParseName() public méthode

public ParseName ( ) : string
Résultat string

ParseParameters() public méthode

public ParseParameters ( ) : string[]
Résultat string[]

ToString() public méthode

public ToString ( ) : string
Résultat string