Language

PartConventionBuilder<T> クラス

定義

厳密に型指定された戻り値を使用して、型を Managed Extensibility Framework (MEF) パーツとして構成します。

generic <typename T>
public ref class PartConventionBuilder : System::Composition::Convention::PartConventionBuilder
public class PartConventionBuilder<T> : System.Composition.Convention.PartConventionBuilder
type PartConventionBuilder<'T> = class
    inherit PartConventionBuilder
Public Class PartConventionBuilder(Of T)
Inherits PartConventionBuilder

型パラメーター

T

パーツの種類。

継承
PartConventionBuilder<T>

メソッド

Name 説明
AddPartMetadata(String, Func<Type,Object>)

指定した名前と値を持つメタデータをパーツに追加します。 この値は、パーツの種類をメタデータ値にマップする関数によって返されます。

(継承元 PartConventionBuilder)
AddPartMetadata(String, Object)

指定した名前と値を持つメタデータをパーツに追加します。

(継承元 PartConventionBuilder)
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
Export()

具象型を持つパーツをコントラクト型としてエクスポートします。

(継承元 PartConventionBuilder)
Export(Action<ExportConventionBuilder>)

指定した構成を持つパーツをエクスポートします。

(継承元 PartConventionBuilder)
Export<T>()

指定したコントラクト型を持つパーツをエクスポートします。

(継承元 PartConventionBuilder)
Export<T>(Action<ExportConventionBuilder>)

指定した構成を使用して、指定したコントラクト型を持つパーツをエクスポートします。

(継承元 PartConventionBuilder)
ExportInterfaces()

エクスポートするパーツ タイプのすべてのインターフェイスを選択します。

(継承元 PartConventionBuilder)
ExportInterfaces(Predicate<Type>, Action<Type,ExportConventionBuilder>)

指定したエクスポート構成を使用して、指定したフィルターに従ってエクスポートするパーツの種類のインターフェイスを選択します。

(継承元 PartConventionBuilder)
ExportInterfaces(Predicate<Type>)

指定したフィルターに従ってエクスポートするパーツの種類のインターフェイスを選択します。

(継承元 PartConventionBuilder)
ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

指定したエクスポート構成を使用して、指定した述語に従ってエクスポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ExportProperties(Predicate<PropertyInfo>)

指定した述語に従って、エクスポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

指定したコントラクト型とエクスポート構成を使用して、指定した述語に従ってエクスポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ExportProperties<T>(Predicate<PropertyInfo>)

指定したコントラクト型を使用して、指定した述語に従ってエクスポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ExportProperty(Expression<Func<T,Object>>, Action<ExportConventionBuilder>)

指定した構成の指定したプロパティをエクスポートします。

ExportProperty(Expression<Func<T,Object>>)

指定したプロパティをエクスポートします。

ExportProperty<TContract>(Expression<Func<T,Object>>, Action<ExportConventionBuilder>)

指定した構成を使用して、指定したプロパティを指定したコントラクト型としてエクスポートします。

ExportProperty<TContract>(Expression<Func<T,Object>>)

指定したプロパティを指定したコントラクト型としてエクスポートします。

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>)

指定したインポート構成を使用して、指定した述語に従ってインポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ImportProperties(Predicate<PropertyInfo>)

指定した述語に従ってインポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportConventionBuilder>)

指定したコントラクト型とインポート構成を使用して、指定した述語に従ってインポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ImportProperties<T>(Predicate<PropertyInfo>)

指定したコントラクト型を使用して、指定した述語に従ってインポートするパーツのプロパティを選択します。

(継承元 PartConventionBuilder)
ImportProperty(Expression<Func<T,Object>>, Action<ImportConventionBuilder>)

指定した構成を使用して、指定したプロパティをインポートします。

ImportProperty(Expression<Func<T,Object>>)

指定したプロパティをインポートします。

ImportProperty<TContract>(Expression<Func<T,Object>>, Action<ImportConventionBuilder>)

指定したコントラクトの種類と構成を使用して、指定したプロパティをインポートします。

ImportProperty<TContract>(Expression<Func<T,Object>>)

指定したコントラクト型の指定したプロパティをインポートします。

MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
NotifyImportsSatisfied(Expression<Action<T>>)

コンポジションが完了したときに呼び出されるメソッドを選択します。

NotifyImportsSatisfied(Predicate<MethodInfo>)

コンポジションが完了したときに通知として使用するメソッドを選択します。

(継承元 PartConventionBuilder)
SelectConstructor(Expression<Func<ParameterImportConventionBuilder,T>>)

コンポジションで使用するコンストラクターを選択します。

SelectConstructor(Func<IEnumerable<ConstructorInfo>,ConstructorInfo>, Action<ParameterInfo,ImportConventionBuilder>)

指定した関数とインポート構成を使用して、パーツの初期化に使用するコンストラクターを選択します。

(継承元 PartConventionBuilder)
SelectConstructor(Func<IEnumerable<ConstructorInfo>,ConstructorInfo>)

指定した関数を使用してパーツを初期化するために使用するコンストラクターを選択します。

(継承元 PartConventionBuilder)
Shared()

パーツをコンポジション全体で共有するようにマークします。

(継承元 PartConventionBuilder)
Shared(String)

指定した境界内でパーツを共有としてマークします。

(継承元 PartConventionBuilder)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象