Example #1
0
        private static IEnumerable <ComposablePartDefinition> GetPartDefinitionsFromEmptyRegistry()
        {
            var registry =
                new EmptyRegistry();

            var creator =
                new ConventionPartCreator(registry);

            return(creator.CreateParts());
        }
Example #2
0
        private static IEnumerable <ComposablePartDefinition> GetPartDefinitionsFromEmptyRegistry()
        {
            var registry =
                new EmptyRegistry();

            var catalog =
                new ConventionCatalog(registry);

            return(catalog.Parts);
        }
        private static IEnumerable<ComposablePartDefinition> GetPartDefinitionsFromEmptyRegistry()
        {
            var registry =
                new EmptyRegistry();

            var catalog =
                new ConventionCatalog(registry);

            return catalog.Parts;
        }
        private static IEnumerable<ComposablePartDefinition> GetPartDefinitionsFromEmptyRegistry()
        {
            var registry =
                new EmptyRegistry();

            var creator =
                new ConventionPartCreator(registry);

            return creator.CreateParts();
        }