Exemple #1
0
        public void Execute(IDependencyRegistry registry)
        {
            AutoWireupTypesOf
            .ForEach(x => RegisterAllTypesOf(x, registry));

            AutoWireupClosersOf
            .Where(x => x.IsOpenGeneric())
            .ForEach(x => RegisterClosingTypes(x, registry));

            if (ShouldAddSingleImplementations)
            {
                RegisterSingleImplementations(registry);
            }
        }