3 instantiations of PartConventionBuilder
System.Composition.Convention (3)
System\Composition\Convention\ConventionBuilder.cs (3)
37var partBuilder = new PartConventionBuilder<T>((t) => IsDescendentOf(t, typeof(T))); 64var partBuilder = new PartConventionBuilder<T>((t) => t == typeof(T)); 94var 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))); 61/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns> 62public PartConventionBuilder<T> ForType<T>() 64var partBuilder = new PartConventionBuilder<T>((t) => t == typeof(T)); 89/// <returns>A <see cref="PartConventionBuilder{T}"/> that must be used to specify the rule.</returns> 90public PartConventionBuilder<T> ForTypesMatching<T>(Predicate<Type> typeFilter) 94var partBuilder = new PartConventionBuilder<T>(typeFilter); 104/// <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)
209public PartConventionBuilder<T> SelectConstructor(Expression<Func<ParameterImportConventionBuilder, T>> constructorSelector) 223public PartConventionBuilder<T> ExportProperty(Expression<Func<T, object>> propertySelector) 234public PartConventionBuilder<T> ExportProperty( 252public PartConventionBuilder<T> ExportProperty<TContract>(Expression<Func<T, object>> propertySelector) 264public PartConventionBuilder<T> ExportProperty<TContract>( 280public PartConventionBuilder<T> ImportProperty(Expression<Func<T, object>> propertySelector) 291public PartConventionBuilder<T> ImportProperty( 308public PartConventionBuilder<T> ImportProperty<TContract>(Expression<Func<T, object>> propertySelector) 320public PartConventionBuilder<T> ImportProperty<TContract>( 335public PartConventionBuilder<T> NotifyImportsSatisfied(Expression<Action<T>> methodSelector)