2021年7月22日

仿照 MediatR实现了一个中介者模式Publish功能,使用同MediatR

摘要: 接口和实现 public interface IMediator { Task Publish<T>(T notification, CancellationToken cancellationToken = default) where T : class, INotification; } pu 阅读全文

posted @ 2021-07-22 16:37 跨界农民工 阅读(84) 评论(0) 推荐(0) 编辑

导航