次の方法で共有


PartBuilder.ImportProperties メソッド

定義

インポートする必要があるプロパティのセットを一致する型で指定します。

オーバーロード

ImportProperties(Predicate<PropertyInfo>)

インポートする必要があるプロパティのセットを一致する型で指定します。

ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

インポートするものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致の型で指定します。

ImportProperties<T>(Predicate<PropertyInfo>)

指定されたコントラクトの型を使用して、インポートするものとしてマークされる必要があるプロパティのセットを一致の型で指定します。

ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

指定したコントラクト型を使用してインポートされるものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致する型で指定します。

ImportProperties(Predicate<PropertyInfo>)

ソース:
PartBuilder.cs
ソース:
PartBuilder.cs
ソース:
PartBuilder.cs

インポートする必要があるプロパティのセットを一致する型で指定します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder

パラメーター

propertyFilter
Predicate<PropertyInfo>

一連のプロパティを指定する述語。

戻り値

チェーンを許可するための現在のオブジェクト。

例外

propertyFilternullです。

適用対象

ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

ソース:
PartBuilder.cs
ソース:
PartBuilder.cs
ソース:
PartBuilder.cs

インポートするものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致の型で指定します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ImportBuilder ^> ^ importConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ImportBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ImportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportBuilder)) As PartBuilder

パラメーター

propertyFilter
Predicate<PropertyInfo>

一連のプロパティを指定する述語。

importConfiguration
Action<PropertyInfo,ImportBuilder>

インポートに関する構成情報を格納するオブジェクト。 既定値は null です。

戻り値

チェーンを許可するための現在のオブジェクト。

例外

propertyFilternullです。

適用対象

ImportProperties<T>(Predicate<PropertyInfo>)

ソース:
PartBuilder.cs
ソース:
PartBuilder.cs
ソース:
PartBuilder.cs

指定されたコントラクトの型を使用して、インポートするものとしてマークされる必要があるプロパティのセットを一致の型で指定します。

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder

型パラメーター

T

コントラクトの型。

パラメーター

propertyFilter
Predicate<PropertyInfo>

一連のプロパティを指定する述語。

戻り値

チェーンを許可するための現在のオブジェクト。

例外

propertyFilternullです。

適用対象

ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

ソース:
PartBuilder.cs
ソース:
PartBuilder.cs
ソース:
PartBuilder.cs

指定したコントラクト型を使用してインポートされるものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致する型で指定します。

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ImportBuilder ^> ^ importConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ImportBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ImportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportBuilder)) As PartBuilder

型パラメーター

T

コントラクトの型。

パラメーター

propertyFilter
Predicate<PropertyInfo>

一連のプロパティを指定する述語。

importConfiguration
Action<PropertyInfo,ImportBuilder>

インポートに関する構成情報を格納するオブジェクト。 既定値は null です。

戻り値

チェーンを許可するための現在のオブジェクト。

例外

propertyFilternullです。

適用対象