C# Class Rsdn.Janus.CommandTarget

Inheritance: ICommandTarget
显示文件 Open project: rsdn/janus

Public Methods

Method Description
Execute ( [ commandName, [ context ) : void
QueryStatus ( [ commandName, [ context ) : CommandStatus
SubscribeStatusChanged ( [ serviceProvider, string[]>.[ handler ) : IDisposable

Protected Methods

Method Description
CommandTarget ( [ provider ) : System

Private Methods

Method Description
CheckParameters ( ICommandInfo commandInfo, ParameterInfo parameters ) : void
Convert ( object value, Type destinationType ) : object
CreateExecuteMethod ( ICommandInfo commandInfo, MethodInfo method ) : CommandMethod
CreateStatusMethod ( ICommandInfo commandInfo, MethodInfo method ) : CommandMethod
CreateSubscribeMethod ( MethodInfo method, string commandNames ) : SubscribeMethod
InvokeCommandMethod ( CommandMethod method, ICommandContext context ) : object

Method Details

CommandTarget() protected method

protected CommandTarget ( [ provider ) : System
provider [
return System

Execute() public method

public Execute ( [ commandName, [ context ) : void
commandName [
context [
return void

QueryStatus() public method

public QueryStatus ( [ commandName, [ context ) : CommandStatus
commandName [
context [
return CommandStatus

SubscribeStatusChanged() public method

public SubscribeStatusChanged ( [ serviceProvider, string[]>.[ handler ) : IDisposable
serviceProvider [
handler string[]>.[
return IDisposable