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

            var creator =
                new ConventionPartCreator(registry);

            return(creator.CreateParts());
        }
示例#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();
        }