.Net Core 5 - Domain Drive Desing Patent
In this project, I write both theoretical and practical details about Domain-Driven Design, a technique that has been used frequently in the modern software development world.
- .Net Core 5
- MediatR
- Domain Driven Desing
Show examples of usage:
public class OrderStartedDomainEvent : INotification
{
public string UserName { get; set; }
public AggregateModels.OrderModels.Order Order { get; set; }
public OrderStartedDomainEvent(string userName, AggregateModels.OrderModels.Order order)
{
UserName = userName ;
Order = order ?? throw new ArgumentNullException(nameof(order));
}
}