C# Class LinqTwit.Infrastructure.Commands.CommandExecutor

Inheritance: ICommandExecutor
Mostrar archivo Open project: ArildF/linqtwit

Public Methods

Method Description
AddPrefix ( string prefix ) : void
AddRedundantSuffix ( string suffix ) : void
CommandExecutor ( IServiceLocator locator, IArgumentParser parser, ICommandUIService commandUIService ) : System
Execute ( string commandString ) : void

Private Methods

Method Description
FindCommand ( string commandString ) : ICommand
FindCommandStringVariants ( string commandString ) : IEnumerable
SplitToCommandAndArguments ( string commandString ) : string>.Tuple
TryHandleByUI ( ICommand command, object argument ) : bool

Method Details

AddPrefix() public method

public AddPrefix ( string prefix ) : void
prefix string
return void

AddRedundantSuffix() public method

public AddRedundantSuffix ( string suffix ) : void
suffix string
return void

CommandExecutor() public method

public CommandExecutor ( IServiceLocator locator, IArgumentParser parser, ICommandUIService commandUIService ) : System
locator IServiceLocator
parser IArgumentParser
commandUIService ICommandUIService
return System

Execute() public method

public Execute ( string commandString ) : void
commandString string
return void