diff --git a/Home.md b/Home.md index 99ae3f2..94a1e51 100644 --- a/Home.md +++ b/Home.md @@ -23,9 +23,10 @@ Welcome to the Lightweight IOC Container wiki! - [`FromAssembly`](FromAssembly) - [`This()`](FromAssembly#This) - [`Instance()`](FromAssembly#Instance) - - [IIocInstaller](IIocInstaller) + - [`IIocInstaller`](IIocInstaller) - [Base interface](IIocInstaller#base-interface) - [`AssemblyInstaller`](IIocInstaller#assemblyInstaller) + - [`IRegistrationBase`](IRegistrationBase) - [Lifestyles](Lifestyles) - [`Lifestyle.Transient`](Lifestyles#lifestyletransient) - [`Lifestyle.Singleton`](Lifestyles#lifestylesingleton) diff --git a/IIocInstaller.md b/IIocInstaller.md index e52095c..e1cf473 100644 --- a/IIocInstaller.md +++ b/IIocInstaller.md @@ -8,9 +8,9 @@ The base interface only consists of one method, the `Install()` method: void Install(IIocContainer container); ``` -The `Install()` method installs the given `IRegistrationBase`s in the given `IIocContainer`. +The `Install()` method installs the given [`IRegistrationBase`s](IRegistrationBase) in the given `IIocContainer`. -To create your own installer, you have to implement the `IIocInstaller` interface and the `Install()` method. Inside the `Install()` method you have to register the `IRegistrationBase`s with the given `IIocContainer`: +To create your own installer, you have to implement the `IIocInstaller` interface and the `Install()` method. Inside the `Install()` method you have to register the [`IRegistrationBase`s](IRegistrationBase) with the given `IIocContainer`: ```c# container.Register(RegistrationFactory.Register()); diff --git a/IRegistrationBase.md b/IRegistrationBase.md new file mode 100644 index 0000000..e69de29 diff --git a/RegistrationFactory.md b/RegistrationFactory.md index cd3e1f4..27ee041 100644 --- a/RegistrationFactory.md +++ b/RegistrationFactory.md @@ -1,4 +1,4 @@ -The `RegistrationFactory` is a helper class to register interfaces and factories in an [`IIocInstaller`](IIocInstaller) and create the needed `IRegistrationBase`s. +The `RegistrationFactory` is a helper class to register interfaces and factories in an [`IIocInstaller`](IIocInstaller) and create the needed [`IRegistrationBase`s](IRegistrationBase). ## Registering classes diff --git a/Simple-Usage-of-Lightweight-IOC-Container.md b/Simple-Usage-of-Lightweight-IOC-Container.md index 41f2e73..ae64fa0 100644 --- a/Simple-Usage-of-Lightweight-IOC-Container.md +++ b/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(typeof(IFoo), typeof(Foo), Lifestyle.Transient)); ``` -To make this even easier there is a [`RegistrationFactory`](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`](IRegistrationBase) you need: ```c# container.Register(RegistrationFactory.Register()); diff --git a/_Sidebar.md b/_Sidebar.md index 6ed5e22..30cbe27 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -17,6 +17,7 @@ - Detailed documentation - [Abstract factories](Abstract-factories) - [`FromAssembly`](FromAssembly) - - [IIocInstaller](IIocInstaller) + - [`IIocInstaller`](IIocInstaller) + - [`IRegistrationBase`](IRegistrationBase) - [Lifestyles](Lifestyles) - [`RegistrationFactory`](RegistrationFactory)