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

Afficher le fichier Open project: SzymonPobiega/ncqrs

Méthodes publiques

Méthode 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

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

Method Details

CreateFromDirectMethodCommand() public static méthode

public static CreateFromDirectMethodCommand ( ICommand command ) : DirectMethodCommandInfo
command ICommand
Résultat DirectMethodCommandInfo

DirectMethodCommandInfo() public méthode

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.
Résultat System