|
|
|
|
@ -18,7 +18,7 @@ In this simple usage guide we will only take a look at the most straightforward |
|
|
|
|
container.Register(new DefaultRegistration<IInterface>(typeof(IInterface), typeof(Implementation), Lifestyle.Transient)); |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To make this even easier there is a `RegistrationFactory` that helps you create the `IRegistrationBase` you need: |
|
|
|
|
To make this even easier there is a [`RegistrationFactory`](RegistrationFactory) that helps you create the `IRegistrationBase` you need: |
|
|
|
|
|
|
|
|
|
```c# |
|
|
|
|
container.Register(RegistrationFactory.Register<IInterface, Implementation>()); |
|
|
|
|
|