My service base class has generic public property
public IProvider<TRequest, TResponse> Provider;
which I am trying to inject with
container.Register<IProvider<GetAccount, GetAccountResponse>>(c => new AccountProvider());
but that does not work (property is null) while other non-generic properties are initialized.
Should it (can I make it) work?