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

显示文件 Open project: SzymonPobiega/ncqrs

Public Methods

Method Description
CreateFromDirectMethodCommand ( ICommand command ) : ObjectCreationCommandInfo
ObjectCreationCommandInfo ( ICommand command, Type aggregateType ) : System

Initializes a new instance of the ObjectCreationCommandInfo struct.

Private Methods

Method Description
GetAggregateRootType ( ICommand command ) : Type
GetMappingAttribute ( ICommand command ) : MapsToAggregateRootConstructorAttribute

Method Details

CreateFromDirectMethodCommand() public static method

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

ObjectCreationCommandInfo() public method

Initializes a new instance of the ObjectCreationCommandInfo struct.
public ObjectCreationCommandInfo ( ICommand command, Type aggregateType ) : System
command ICommand The command.
aggregateType System.Type Type of the aggregate.
return System