C# 클래스 Griffin.Container.Commands.ContainerDispatcher

상속: ICommandDispatcher
파일 보기 프로젝트 열기: jgauffin/Griffin.Container

공개 메소드들

메소드 설명
ContainerDispatcher ( IServiceLocator serviceLocator ) : System

Initializes a new instance of the ContainerDispatcher class.

Dispatch ( ICommand command ) : void

Dispatch the command

GetDecoratorCreateMethod ( Type commandType ) : MethodInfo

Gets the generic Create method from the decorate.

보호된 메소드들

메소드 설명
Decorate ( Type commandType, object handler ) : object

Checks if the current handler can be decorated

메소드 상세

ContainerDispatcher() 공개 메소드

Initializes a new instance of the ContainerDispatcher class.
public ContainerDispatcher ( IServiceLocator serviceLocator ) : System
serviceLocator IServiceLocator The service locator. The container implements the interface.
리턴 System

Decorate() 보호된 메소드

Checks if the current handler can be decorated
protected Decorate ( Type commandType, object handler ) : object
commandType System.Type Type of command (implementation of )
handler object Current handler
리턴 object

Dispatch() 공개 메소드

Dispatch the command
public Dispatch ( ICommand command ) : void
command ICommand Command to invoke
리턴 void

GetDecoratorCreateMethod() 공개 메소드

Gets the generic Create method from the decorate.
public GetDecoratorCreateMethod ( Type commandType ) : MethodInfo
commandType System.Type Type of the command.
리턴 System.Reflection.MethodInfo