link to registration factory

master
Simon Gockner 7 years ago
parent b74a386875
commit 6af4280bf1
  1. 2
      Simple-Usage-of-Lightweight-IOC-Container.md

@ -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)); 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# ```c#
container.Register(RegistrationFactory.Register<IInterface, Implementation>()); container.Register(RegistrationFactory.Register<IInterface, Implementation>());

Loading…
Cancel
Save