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