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)));
67
var partBuilder = new
PartConventionBuilder
<T>((t) => t == typeof(T));
103
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)));
64
/// <returns>A <see cref="
PartConventionBuilder
{T}"/> that must be used to specify the rule.</returns>
65
public
PartConventionBuilder
<T> ForType<T>()
67
var
partBuilder = new PartConventionBuilder<T>((t) => t == typeof(T));
95
/// <returns>A <see cref="
PartConventionBuilder
{T}"/> that must be used to specify the rule.</returns>
96
public
PartConventionBuilder
<T> ForTypesMatching<T>(Predicate<Type> typeFilter)
103
var
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)
218
public
PartConventionBuilder
<T> SelectConstructor(Expression<Func<ParameterImportConventionBuilder, T>> constructorSelector)
235
public
PartConventionBuilder
<T> ExportProperty(Expression<Func<T, object>> propertySelector)
246
public
PartConventionBuilder
<T> ExportProperty(
267
public
PartConventionBuilder
<T> ExportProperty<TContract>(Expression<Func<T, object>> propertySelector)
279
public
PartConventionBuilder
<T> ExportProperty<TContract>(
298
public
PartConventionBuilder
<T> ImportProperty(Expression<Func<T, object>> propertySelector)
309
public
PartConventionBuilder
<T> ImportProperty(
329
public
PartConventionBuilder
<T> ImportProperty<TContract>(Expression<Func<T, object>> propertySelector)
341
public
PartConventionBuilder
<T> ImportProperty<TContract>(
359
public
PartConventionBuilder
<T> NotifyImportsSatisfied(Expression<Action<T>> methodSelector)