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));