PartConventionBuilder.ImportProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ImportProperties(Predicate<PropertyInfo>) |
Selects the properties on the part to import according to the specified predicate. |
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>) |
Selects the properties on the part to import according to the specified predicate, using the specified import configuration. |
ImportProperties<T>(Predicate<PropertyInfo>) |
Selects the properties on the part to import according to the specified predicate, using the specified contract type. |
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>) |
Selects the properties on the part to import according to the specified predicate, using the specified contract type and import configuration. |
ImportProperties(Predicate<PropertyInfo>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Selects the properties on the part to import according to the specified predicate.
public:
System::Composition::Convention::PartConventionBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.Composition.Convention.PartConventionBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.Composition.Convention.PartConventionBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo)) As PartConventionBuilder
Parameters
- propertyFilter
- Predicate<PropertyInfo>
A predicate that specifies the properites to import.
Returns
A part builder that can be used to further configure the part.
Applies to
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Selects the properties on the part to import according to the specified predicate, using the specified import configuration.
public:
System::Composition::Convention::PartConventionBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::Composition::Convention::ImportConventionBuilder ^> ^ importConfiguration);
public System.Composition.Convention.PartConventionBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.Composition.Convention.ImportConventionBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.Composition.Convention.ImportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportConventionBuilder)) As PartConventionBuilder
Parameters
- propertyFilter
- Predicate<PropertyInfo>
A predicate that specifies the properites to import.
- importConfiguration
- Action<PropertyInfo,ImportConventionBuilder>
An action that configures the imports.
Returns
A part builder that can be used to further configure the part.
Applies to
ImportProperties<T>(Predicate<PropertyInfo>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Selects the properties on the part to import according to the specified predicate, using the specified contract type.
public:
generic <typename T>
System::Composition::Convention::PartConventionBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.Composition.Convention.PartConventionBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.Composition.Convention.PartConventionBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo)) As PartConventionBuilder
Type Parameters
- T
The contract type.
Parameters
- propertyFilter
- Predicate<PropertyInfo>
A predicate that specifies the properties to import.
Returns
A part builder that can be used to further configure the part.
Applies to
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Selects the properties on the part to import according to the specified predicate, using the specified contract type and import configuration.
public:
generic <typename T>
System::Composition::Convention::PartConventionBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::Composition::Convention::ImportConventionBuilder ^> ^ importConfiguration);
public System.Composition.Convention.PartConventionBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.Composition.Convention.ImportConventionBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.Composition.Convention.ImportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportConventionBuilder)) As PartConventionBuilder
Type Parameters
- T
The contract type.
Parameters
- propertyFilter
- Predicate<PropertyInfo>
A predicate that specifies the properties to import.
- importConfiguration
- Action<PropertyInfo,ImportConventionBuilder>
An action that configures the imports.
Returns
A part builder that can be used to further configure the part.
Applies to
.NET