다음을 통해 공유


Export 생성자

정의

Export 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
Export()

Export 클래스의 새 인스턴스를 초기화합니다.

Export(ExportDefinition, Func<Object>)

지정된 내보내기 정의 및 내보낸 개체 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

Export(String, Func<Object>)

지정된 계약 이름과 내보낸 값 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

Export(String, IDictionary<String,Object>, Func<Object>)

지정된 계약 이름, 메타데이터 및 내보낸 값 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

Export()

Source:
Export.cs
Source:
Export.cs
Source:
Export.cs
Source:
Export.cs

Export 클래스의 새 인스턴스를 초기화합니다.

protected:
 Export();
protected Export();
Protected Sub New ()

설명

이 생성자를 호출하는 파생 형식은 속성과 메서드를 재정의 DefinitionGetExportedValueCore 해야 합니다.

적용 대상

Export(ExportDefinition, Func<Object>)

Source:
Export.cs
Source:
Export.cs
Source:
Export.cs
Source:
Export.cs

지정된 내보내기 정의 및 내보낸 개체 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

public:
 Export(System::ComponentModel::Composition::Primitives::ExportDefinition ^ definition, Func<System::Object ^> ^ exportedValueGetter);
public Export(System.ComponentModel.Composition.Primitives.ExportDefinition definition, Func<object?> exportedValueGetter);
public Export(System.ComponentModel.Composition.Primitives.ExportDefinition definition, Func<object> exportedValueGetter);
new System.ComponentModel.Composition.Primitives.Export : System.ComponentModel.Composition.Primitives.ExportDefinition * Func<obj> -> System.ComponentModel.Composition.Primitives.Export
Public Sub New (definition As ExportDefinition, exportedValueGetter As Func(Of Object))

매개 변수

definition
ExportDefinition

개체가 충족하는 계약을 Export 설명하는 개체입니다.

exportedValueGetter
Func<Object>

내보낸 개체를 만들기 위해 호출되는 메서드입니다 Export. 이렇게 하면 속성이 호출될 때까지 개체 만들기가 Value 지연됩니다.

예외

definitionnull입니다.

-또는-

exportedValueGetternull입니다.

적용 대상

Export(String, Func<Object>)

Source:
Export.cs
Source:
Export.cs
Source:
Export.cs
Source:
Export.cs

지정된 계약 이름과 내보낸 값 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

public:
 Export(System::String ^ contractName, Func<System::Object ^> ^ exportedValueGetter);
public Export(string contractName, Func<object?> exportedValueGetter);
public Export(string contractName, Func<object> exportedValueGetter);
new System.ComponentModel.Composition.Primitives.Export : string * Func<obj> -> System.ComponentModel.Composition.Primitives.Export
Public Sub New (contractName As String, exportedValueGetter As Func(Of Object))

매개 변수

contractName
String

개체의 계약 이름입니다 Export .

exportedValueGetter
Func<Object>

내보낸 개체를 만들기 위해 호출되는 메서드입니다 Export. 이렇게 하면 메서드가 호출될 때까지 개체 만들기가 Value 지연됩니다.

예외

contractNamenull입니다.

-또는-

exportedValueGetternull입니다.

contractName 은 빈 문자열("")입니다.

적용 대상

Export(String, IDictionary<String,Object>, Func<Object>)

Source:
Export.cs
Source:
Export.cs
Source:
Export.cs
Source:
Export.cs

지정된 계약 이름, 메타데이터 및 내보낸 값 getter를 사용하여 클래스의 Export 새 인스턴스를 초기화합니다.

public:
 Export(System::String ^ contractName, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata, Func<System::Object ^> ^ exportedValueGetter);
public Export(string contractName, System.Collections.Generic.IDictionary<string,object?>? metadata, Func<object?> exportedValueGetter);
public Export(string contractName, System.Collections.Generic.IDictionary<string,object> metadata, Func<object> exportedValueGetter);
new System.ComponentModel.Composition.Primitives.Export : string * System.Collections.Generic.IDictionary<string, obj> * Func<obj> -> System.ComponentModel.Composition.Primitives.Export
Public Sub New (contractName As String, metadata As IDictionary(Of String, Object), exportedValueGetter As Func(Of Object))

매개 변수

contractName
String

개체의 계약 이름입니다 Export .

metadata
IDictionary<String,Object>

개체의 Export 메타데이터이거나 null 속성을 읽기 전용 IDictionary<TKey,TValue> 인 빈 개체로 설정합니다Metadata.

exportedValueGetter
Func<Object>

내보낸 개체를 만들기 위해 호출되는 메서드입니다 Export. 이렇게 하면 메서드가 호출될 때까지 개체 만들기가 Value 지연됩니다.

예외

contractNamenull입니다.

-또는-

exportedValueGetternull입니다.

contractName 은 빈 문자열("")입니다.

적용 대상