Exemple #1
0
 public void RegisterDefaultImplementation(Type implementation, Type interfaceType)
 {
     _registry.RegisterDefaultImplementation(implementation, interfaceType);
 }
Exemple #2
0
 /// <inheritdoc />
 public void RegisterDefaultImplementation <TInterface, TImplementation>() where TInterface : class where TImplementation : TInterface
 {
     _registry.RegisterDefaultImplementation(typeof(TImplementation), typeof(TInterface));
 }