public static ComposableCatalog WithParts(this ComposableCatalog catalog, IEnumerable <Type> types) { return(catalog.WithParts(CreateTypeCatalog(types))); }
public static ComposableCatalog WithPart(this ComposableCatalog catalog, Type t) { return(catalog.WithParts(CreateTypeCatalog(SpecializedCollections.SingletonEnumerable(t)))); }
public static ComposableCatalog WithParts(this ComposableCatalog @this, ComposableCatalog catalog) { return(@this.WithParts(catalog.DiscoveredParts)); }