AttributedModelServices.ComposeExportedValue 메서드

정의

지정된 개체에서 파트를 만들고 지정된 컴퍼지션 컨테이너를 사용하여 해당 파트를 작성합니다.

오버로드

ComposeExportedValue<T>(CompositionContainer, T)

지정된 값에서 파트를 만들고 지정된 컴퍼지션 컨테이너에서 해당 파트를 작성합니다.

ComposeExportedValue<T>(CompositionContainer, String, T)

지정된 개체에서 지정된 계약 이름으로 파트를 만들고 지정된 컴퍼지션 컨테이너에 해당 파트를 작성합니다.

ComposeExportedValue<T>(CompositionContainer, T)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

지정된 값에서 파트를 만들고 지정된 컴퍼지션 컨테이너에서 해당 파트를 작성합니다.

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)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

지정된 개체에서 지정된 계약 이름으로 파트를 만들고 지정된 컴퍼지션 컨테이너에 해당 파트를 작성합니다.

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

작성할 값입니다.

적용 대상