public static TImplementation AssertRegisteredTransient <TInterface, TImplementation>(this IServiceProvider provider)
 => (TImplementation)provider.AssertRegisteredTransient(typeof(TInterface), typeof(TImplementation));
Esempio n. 2
0
 public void ShouldRegisterTransientTypes(Type interfaceType, Type implementationType)
 {
     _provider.AssertRegisteredTransient(interfaceType, implementationType);
 }