コード例 #1
0
 /// <summary>
 /// Creates a <see cref="ComposableCatalog"/> derived from <paramref name="catalog"/>, but with all exported
 /// parts assignable to type <paramref name="t"/> removed from the catalog.
 /// </summary>
 public static ComposableCatalog WithoutPartsOfType(this ComposableCatalog catalog, Type t)
 {
     return(catalog.WithoutPartsOfTypes(SpecializedCollections.SingletonEnumerable(t)));
 }