3 instantiations of PartConventionBuilder
System.Composition.Convention (3)
System\Composition\Convention\ConventionBuilder.cs (3)
37var partBuilder = new PartConventionBuilder<T>((t) => IsDescendentOf(t, typeof(T))); 67var partBuilder = new PartConventionBuilder<T>((t) => t == typeof(T)); 103var partBuilder = new PartConventionBuilder<T>(typeFilter);
21 references to PartConventionBuilder
System.Composition.Convention (21)
System\Composition\Convention\ConventionBuilder.cs (10)
34/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns> 35public PartConventionBuilder<T> ForTypesDerivedFrom<T>() 37var partBuilder = new PartConventionBuilder<T>((t) => IsDescendentOf(t, typeof(T))); 64/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns> 65public PartConventionBuilder<T> ForType<T>() 67var partBuilder = new PartConventionBuilder<T>((t) => t == typeof(T)); 95/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns> 96public PartConventionBuilder<T> ForTypesMatching<T>(Predicate<Type> typeFilter) 103var partBuilder = new PartConventionBuilder<T>(typeFilter); 113/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns>
System\Composition\Convention\ParameterImportConventionBuilder.cs (1)
7/// Used when configuring a <see cref="PartConventionBuilder{T}"/>. Used only
System\Composition\Convention\PartConventionBuilderOfT.cs (10)
218public PartConventionBuilder<T> SelectConstructor(Expression<Func<ParameterImportConventionBuilder, T>> constructorSelector) 235public PartConventionBuilder<T> ExportProperty(Expression<Func<T, object>> propertySelector) 246public PartConventionBuilder<T> ExportProperty( 267public PartConventionBuilder<T> ExportProperty<TContract>(Expression<Func<T, object>> propertySelector) 279public PartConventionBuilder<T> ExportProperty<TContract>( 298public PartConventionBuilder<T> ImportProperty(Expression<Func<T, object>> propertySelector) 309public PartConventionBuilder<T> ImportProperty( 329public PartConventionBuilder<T> ImportProperty<TContract>(Expression<Func<T, object>> propertySelector) 341public PartConventionBuilder<T> ImportProperty<TContract>( 359public PartConventionBuilder<T> NotifyImportsSatisfied(Expression<Action<T>> methodSelector)