C# Класс Griffin.Container.Commands.ContainerDispatcher

Наследование: ICommandDispatcher
Показать файл Открыть проект

Открытые методы

Метод Описание
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