DDD:DomainEvent、ApplicationEvent、Command

Command:纵向传递,跨分层,在控制器层和应用层之间传递。

DomainEvent:横向传递,跨聚合,在一个DLL中。

ApplicationEvent:横向传递,跨模块,在不同的DLL中。

原文地址:https://www.cnblogs.com/happyframework/p/2949838.html