C# Class Ncqrs.Commanding.CommandExecution.Mapping.Actions.DirectMethodCommandInfo

显示文件 Open project: SzymonPobiega/ncqrs

Public Methods

Method Description
CreateFromDirectMethodCommand ( ICommand command ) : DirectMethodCommandInfo
DirectMethodCommandInfo ( ICommand command, Type aggregateType, System.Guid aggregateRootIdValue, String methodName ) : System

Initializes a new instance of the DirectMethodCommandInfo struct.

Private Methods

Method Description
GetAggregateRootId ( ICommand command ) : System.Guid
GetAggregateRootType ( ICommand command ) : Type
GetMappingAttribute ( ICommand command ) : MapsToAggregateRootMethodAttribute
GetPropertyMarkedAsAggregateRootId ( ICommand command ) : PropertyInfo

Method Details

CreateFromDirectMethodCommand() public static method

public static CreateFromDirectMethodCommand ( ICommand command ) : DirectMethodCommandInfo
command ICommand
return DirectMethodCommandInfo

DirectMethodCommandInfo() public method

Initializes a new instance of the DirectMethodCommandInfo struct.
public DirectMethodCommandInfo ( ICommand command, Type aggregateType, System.Guid aggregateRootIdValue, String methodName ) : System
command ICommand The command.
aggregateType System.Type Type of the aggregate.
aggregateRootIdValue System.Guid The aggregate root id.
methodName String Name of the method.
return System