Commands and queries
The framework implements a number of facilities for working with commands, queries and for implementing CQRS.
Commands, queries
public class CreateUserCommand : ICommand
{
public CreateUserCommand(string firstName, string lastName,
string emailAddress, string password)
{
FirstName = firstName;
LastName = lastName;
EmailAddress = emailAddress;
Password = password;
}
public string FirstName { get; }
public string LastName { get; }
public string EmailAddress { get; }
public string Password { get; }
}Command/query handlers
Command bus
Command filters
Last updated