C# Class Binboo.Language.Commands.TranslateCommand

Inheritance: BotCommandBase
Mostrar archivo Open project: adrianoc/binboo

Public Methods

Method Description
Process ( IContext context ) : ICommandResult

Argument format: $translate pt:de "some text" $translate :de "some text"

TranslateCommand ( LanguageService languageSrv, string help ) : System

Private Methods

Method Description
EnsureValid ( string sourceLanguage, string defaultValue ) : string

Method Details

Process() public method

Argument format: $translate pt:de "some text" $translate :de "some text"
public Process ( IContext context ) : ICommandResult
context IContext
return ICommandResult

TranslateCommand() public method

public TranslateCommand ( LanguageService languageSrv, string help ) : System
languageSrv LanguageService
help string
return System