From b0c0fc64495e54567e89ba252d8645eccaec8e5e Mon Sep 17 00:00:00 2001 From: Sejoslaw Date: Fri, 16 Dec 2022 08:57:53 +0100 Subject: [PATCH] !cleaning; --- Negum.Core/Containers/NegumContainer.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Negum.Core/Containers/NegumContainer.cs b/Negum.Core/Containers/NegumContainer.cs index 1812da0..f447922 100644 --- a/Negum.Core/Containers/NegumContainer.cs +++ b/Negum.Core/Containers/NegumContainer.cs @@ -71,12 +71,6 @@ public static void Register(NegumObjectLifetime lifetime = N public static TInterface Resolve() => (TInterface) Resolver(typeof(TInterface)); - /// - /// Registers known types to container. - /// - /// REMEMBER: - /// Call it at least once before using the engine. - /// static NegumContainer() { // Configurations @@ -86,7 +80,7 @@ static NegumContainer() // Readers RegisterInterfaceClassPairs(typeof(IReader<,>).Namespace, typeof(IReader<,>)); - // Negum Manager Section Entries + // Manager Section Entries RegisterMultiple(typeof(StringEntry).Namespace, typeof(IManagerSectionEntry<>), (type, baseType) => type.GetInterfaces().FirstOrDefault(i => i.GetGenericTypeDefinition() == baseType));