我正在尝试在DI容器中注册嵌套泛型类型,但无法注册 throws {Open泛型服务类型需要注册一个开放的泛型实现类型。(参数描述符)}错误 实现的接口方法如下所示: public class CustomerEvent<TEntity> : IEventConsumer<EntityInsertedEvent<TEntityEntityDeletedEvent<TEntity> eventMessage)
我意识到我看到(非常类似的)问题被提出,但这似乎与通常提出的问题略有不同。notification, CancellationToken ct) throw new NotImplementedException();} CS7003:未绑定泛型名称的意外使用
{
public static void Register(IServiceCollection-- CS7003 h