From 6b6a549304af6f480022a512f36ef42d850c59d9 Mon Sep 17 00:00:00 2001 From: Simon G Date: Thu, 16 Dec 2021 13:42:41 +0100 Subject: [PATCH] - add register to interface --- LightweightIocContainer/Interfaces/IIocContainer.cs | 6 ++++++ LightweightIocContainer/LightweightIocContainer.xml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/LightweightIocContainer/Interfaces/IIocContainer.cs b/LightweightIocContainer/Interfaces/IIocContainer.cs index b86f5d0..bb0a797 100644 --- a/LightweightIocContainer/Interfaces/IIocContainer.cs +++ b/LightweightIocContainer/Interfaces/IIocContainer.cs @@ -20,6 +20,12 @@ namespace LightweightIocContainer.Interfaces /// An instance of the current IIocContainer Install(params IIocInstaller[] installers); + /// + /// Register an at this + /// + /// The that creates an + public void Register(Func addRegistration); + /// /// Clear the multiton instances of the given from the registered multitons list /// diff --git a/LightweightIocContainer/LightweightIocContainer.xml b/LightweightIocContainer/LightweightIocContainer.xml index f81ed54..67d8d75 100644 --- a/LightweightIocContainer/LightweightIocContainer.xml +++ b/LightweightIocContainer/LightweightIocContainer.xml @@ -472,6 +472,12 @@ The given s An instance of the current + + + Register an at this + + The that creates an + Clear the multiton instances of the given from the registered multitons list