AttributedModelServices.ComposeExportedValue メソッド

定義

指定したオブジェクトからパーツを作成し、指定したコンポジション コンテナーを使用してパーツを作成します。

オーバーロード

名前 説明
ComposeExportedValue<T>(CompositionContainer, T)

指定した値からパーツを作成し、指定したコンポジション コンテナーで作成します。

ComposeExportedValue<T>(CompositionContainer, String, T)

指定したコントラクト名の下に、指定したオブジェクトからパーツを作成し、指定したコンポジション コンテナーで作成します。

ComposeExportedValue<T>(CompositionContainer, T)

指定した値からパーツを作成し、指定したコンポジション コンテナーで作成します。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void ComposeExportedValue(System::ComponentModel::Composition::Hosting::CompositionContainer ^ container, T exportedValue);
public static void ComposeExportedValue<T>(this System.ComponentModel.Composition.Hosting.CompositionContainer container, T exportedValue);
static member ComposeExportedValue : System.ComponentModel.Composition.Hosting.CompositionContainer * 'T -> unit
<Extension()>
Public Sub ComposeExportedValue(Of T) (container As CompositionContainer, exportedValue As T)

型パラメーター

T

新しいパーツの種類。

パラメーター

container
CompositionContainer

で組成を行う組成物容器。

exportedValue
T

作成する値。

適用対象

ComposeExportedValue<T>(CompositionContainer, String, T)

指定したコントラクト名の下に、指定したオブジェクトからパーツを作成し、指定したコンポジション コンテナーで作成します。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void ComposeExportedValue(System::ComponentModel::Composition::Hosting::CompositionContainer ^ container, System::String ^ contractName, T exportedValue);
public static void ComposeExportedValue<T>(this System.ComponentModel.Composition.Hosting.CompositionContainer container, string contractName, T exportedValue);
static member ComposeExportedValue : System.ComponentModel.Composition.Hosting.CompositionContainer * string * 'T -> unit
<Extension()>
Public Sub ComposeExportedValue(Of T) (container As CompositionContainer, contractName As String, exportedValue As T)

型パラメーター

T

新しいパーツの種類。

パラメーター

container
CompositionContainer

で組成を行う組成物容器。

contractName
String

パーツをエクスポートするコントラクト名。

exportedValue
T

作成する値。

適用対象