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