C# Class CQRSMicroservices.ServiceFabric.AggregateRootActor.AggregateRootActor

Each ActorID maps to an instance of this class. The IActor1 interface (in a separate DLL that client code can reference) defines the operations exposed by Actor1 objects.
Inheritance: StatelessActor, IAggregateRootActor
Datei anzeigen Open project: AFASResearch/CQRS-Playground

Public Methods

Method Description
ExecuteOn ( string aggregateRootType, string command ) : System.Threading.Tasks.Task
ExecuteOnNew ( string aggregateRootType, string command ) : System.Threading.Tasks.Task

Private Methods

Method Description
Deserialize ( string command ) : Command
LoadAggregateRoot ( string fullTypeName ) : AggregateRoot
SaveAndDispatchEvents ( AggregateRoot root ) : System.Threading.Tasks.Task

Method Details

ExecuteOn() public method

public ExecuteOn ( string aggregateRootType, string command ) : System.Threading.Tasks.Task
aggregateRootType string
command string
return System.Threading.Tasks.Task

ExecuteOnNew() public method

public ExecuteOnNew ( string aggregateRootType, string command ) : System.Threading.Tasks.Task
aggregateRootType string
command string
return System.Threading.Tasks.Task