다음을 통해 공유


ReflectionModelServices.CreateImportDefinition 메서드

정의

멤버 또는 매개 변수에 대한 가져오기 정의를 만듭니다.

오버로드

CreateImportDefinition(Lazy<ParameterInfo>, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, CreationPolicy, ICompositionElement)

지정된 계약 이름, 형식 ID, 가져오기 메타데이터, 카디널리티 및 작성 정책을 사용하여 지정된 매개 변수에 대한 가져오기 정의를 만듭니다.

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, CreationPolicy, ICompositionElement)

지정된 계약 이름, 형식 ID, 가져오기 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

CreateImportDefinition(Lazy<ParameterInfo>, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티 및 작성 정책을 사용하여 지정된 매개 변수에 대한 가져오기 정의를 만듭니다.

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, Boolean, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

CreateImportDefinition(Lazy<ParameterInfo>, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, CreationPolicy, ICompositionElement)

Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs

지정된 계약 이름, 형식 ID, 가져오기 메타데이터, 카디널리티 및 작성 정책을 사용하여 지정된 매개 변수에 대한 가져오기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ContractBasedImportDefinition ^ CreateImportDefinition(Lazy<System::Reflection::ParameterInfo ^> ^ parameter, System::String ^ contractName, System::String ^ requiredTypeIdentity, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ requiredMetadata, System::ComponentModel::Composition::Primitives::ImportCardinality cardinality, System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (Lazy<System.Reflection.ParameterInfo> parameter, string contractName, string requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (Lazy<System.Reflection.ParameterInfo> parameter, string contractName, string? requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>>? requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateImportDefinition : Lazy<System.Reflection.ParameterInfo> * string * string * seq<System.Collections.Generic.KeyValuePair<string, Type>> * System.ComponentModel.Composition.Primitives.ImportCardinality * System.ComponentModel.Composition.CreationPolicy * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition
Public Shared Function CreateImportDefinition (parameter As Lazy(Of ParameterInfo), contractName As String, requiredTypeIdentity As String, requiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type)), cardinality As ImportCardinality, requiredCreationPolicy As CreationPolicy, origin As ICompositionElement) As ContractBasedImportDefinition

매개 변수

parameter
Lazy<ParameterInfo>

가져올 매개 변수입니다.

contractName
String

가져오기에 사용할 계약 이름입니다.

requiredTypeIdentity
String

가져오기에 대한 필수 형식 ID입니다.

requiredMetadata
IEnumerable<KeyValuePair<String,Type>>

가져오기에 대한 필수 메타데이터입니다.

cardinality
ImportCardinality

가져오기의 카디널리티입니다.

requiredCreationPolicy
CreationPolicy

가져오기의 만들기 정책을 지정하는 열거형 값 중 하나입니다.

origin
ICompositionElement

가져올 개체입니다.

반환

지정된 매개 변수에서 만들어진 가져오기 정의입니다.

적용 대상

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, CreationPolicy, ICompositionElement)

Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs

지정된 계약 이름, 형식 ID, 가져오기 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ContractBasedImportDefinition ^ CreateImportDefinition(System::ComponentModel::Composition::ReflectionModel::LazyMemberInfo importingMember, System::String ^ contractName, System::String ^ requiredTypeIdentity, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ requiredMetadata, System::ComponentModel::Composition::Primitives::ImportCardinality cardinality, bool isRecomposable, System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string? requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>>? requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateImportDefinition : System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo * string * string * seq<System.Collections.Generic.KeyValuePair<string, Type>> * System.ComponentModel.Composition.Primitives.ImportCardinality * bool * System.ComponentModel.Composition.CreationPolicy * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition
Public Shared Function CreateImportDefinition (importingMember As LazyMemberInfo, contractName As String, requiredTypeIdentity As String, requiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type)), cardinality As ImportCardinality, isRecomposable As Boolean, requiredCreationPolicy As CreationPolicy, origin As ICompositionElement) As ContractBasedImportDefinition

매개 변수

importingMember
LazyMemberInfo

가져올 멤버입니다.

contractName
String

가져오기에 사용할 계약 이름입니다.

requiredTypeIdentity
String

가져오기에 대한 필수 형식 ID입니다.

requiredMetadata
IEnumerable<KeyValuePair<String,Type>>

가져오기에 대한 필수 메타데이터입니다.

cardinality
ImportCardinality

가져오기의 카디널리티입니다.

isRecomposable
Boolean

가져오기를 다시 작성할 수 있음을 나타내려면 true이고 그렇지 않으면 false입니다.

requiredCreationPolicy
CreationPolicy

가져오기의 만들기 정책을 지정하는 열거형 값 중 하나입니다.

origin
ICompositionElement

가져올 개체입니다.

반환

지정된 매개 변수에서 만들어진 가져오기 정의입니다.

적용 대상

CreateImportDefinition(Lazy<ParameterInfo>, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티 및 작성 정책을 사용하여 지정된 매개 변수에 대한 가져오기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ContractBasedImportDefinition ^ CreateImportDefinition(Lazy<System::Reflection::ParameterInfo ^> ^ parameter, System::String ^ contractName, System::String ^ requiredTypeIdentity, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ requiredMetadata, System::ComponentModel::Composition::Primitives::ImportCardinality cardinality, System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata, bool isExportFactory, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (Lazy<System.Reflection.ParameterInfo> parameter, string contractName, string requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (Lazy<System.Reflection.ParameterInfo> parameter, string contractName, string? requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>>? requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object?> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateImportDefinition : Lazy<System.Reflection.ParameterInfo> * string * string * seq<System.Collections.Generic.KeyValuePair<string, Type>> * System.ComponentModel.Composition.Primitives.ImportCardinality * System.ComponentModel.Composition.CreationPolicy * System.Collections.Generic.IDictionary<string, obj> * bool * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition
Public Shared Function CreateImportDefinition (parameter As Lazy(Of ParameterInfo), contractName As String, requiredTypeIdentity As String, requiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type)), cardinality As ImportCardinality, requiredCreationPolicy As CreationPolicy, metadata As IDictionary(Of String, Object), isExportFactory As Boolean, origin As ICompositionElement) As ContractBasedImportDefinition

매개 변수

parameter
Lazy<ParameterInfo>

가져올 매개 변수입니다.

contractName
String

가져오기에 사용할 계약 이름입니다.

requiredTypeIdentity
String

가져오기에 대한 필수 형식 ID입니다.

requiredMetadata
IEnumerable<KeyValuePair<String,Type>>

가져오기에 대한 필수 메타데이터입니다.

cardinality
ImportCardinality

가져오기의 카디널리티입니다.

requiredCreationPolicy
CreationPolicy

가져오기의 만들기 정책을 지정하는 열거형 값 중 하나입니다.

metadata
IDictionary<String,Object>

계약 메타데이터입니다.

isExportFactory
Boolean

가져오기가 ExportFactory<T>을 표시한다는 것을 나타내려면 true이고 그렇지 않으면 false입니다.

origin
ICompositionElement

가져올 개체입니다.

반환

지정된 매개 변수에서 만들어진 가져오기 정의입니다.

적용 대상

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ContractBasedImportDefinition ^ CreateImportDefinition(System::ComponentModel::Composition::ReflectionModel::LazyMemberInfo importingMember, System::String ^ contractName, System::String ^ requiredTypeIdentity, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ requiredMetadata, System::ComponentModel::Composition::Primitives::ImportCardinality cardinality, bool isRecomposable, System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata, bool isExportFactory, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string? requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>>? requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object?> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateImportDefinition : System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo * string * string * seq<System.Collections.Generic.KeyValuePair<string, Type>> * System.ComponentModel.Composition.Primitives.ImportCardinality * bool * System.ComponentModel.Composition.CreationPolicy * System.Collections.Generic.IDictionary<string, obj> * bool * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition
Public Shared Function CreateImportDefinition (importingMember As LazyMemberInfo, contractName As String, requiredTypeIdentity As String, requiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type)), cardinality As ImportCardinality, isRecomposable As Boolean, requiredCreationPolicy As CreationPolicy, metadata As IDictionary(Of String, Object), isExportFactory As Boolean, origin As ICompositionElement) As ContractBasedImportDefinition

매개 변수

importingMember
LazyMemberInfo

가져올 멤버입니다.

contractName
String

가져오기에 사용할 계약 이름입니다.

requiredTypeIdentity
String

가져오기에 대한 필수 형식 ID입니다.

requiredMetadata
IEnumerable<KeyValuePair<String,Type>>

가져오기에 대한 필수 메타데이터입니다.

cardinality
ImportCardinality

가져오기의 카디널리티입니다.

isRecomposable
Boolean

가져오기를 다시 작성할 수 있음을 나타내려면 true이고 그렇지 않으면 false입니다.

requiredCreationPolicy
CreationPolicy

가져오기의 만들기 정책을 지정하는 열거형 값 중 하나입니다.

metadata
IDictionary<String,Object>

계약 메타데이터입니다.

isExportFactory
Boolean

가져오기가 ExportFactory<T>을 표시한다는 것을 나타내려면 true이고 그렇지 않으면 false입니다.

origin
ICompositionElement

가져올 개체입니다.

반환

지정된 매개 변수에서 만들어진 가져오기 정의입니다.

적용 대상

CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, Boolean, CreationPolicy, IDictionary<String, Object>, Boolean, ICompositionElement)

Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs
Source:
ReflectionModelServices.cs

지정된 계약 이름, 형식 ID, 가져오기와 연락처 메타데이터, 카디널리티, 재컴퍼지션 정책 및 작성 정책을 사용하여 지정된 멤버에 대한 가져오기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ContractBasedImportDefinition ^ CreateImportDefinition(System::ComponentModel::Composition::ReflectionModel::LazyMemberInfo importingMember, System::String ^ contractName, System::String ^ requiredTypeIdentity, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ requiredMetadata, System::ComponentModel::Composition::Primitives::ImportCardinality cardinality, bool isRecomposable, bool isPreRequisite, System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata, bool isExportFactory, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPreRequisite, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition CreateImportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo importingMember, string contractName, string? requiredTypeIdentity, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>>? requiredMetadata, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPreRequisite, System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy, System.Collections.Generic.IDictionary<string,object?> metadata, bool isExportFactory, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateImportDefinition : System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo * string * string * seq<System.Collections.Generic.KeyValuePair<string, Type>> * System.ComponentModel.Composition.Primitives.ImportCardinality * bool * bool * System.ComponentModel.Composition.CreationPolicy * System.Collections.Generic.IDictionary<string, obj> * bool * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition
Public Shared Function CreateImportDefinition (importingMember As LazyMemberInfo, contractName As String, requiredTypeIdentity As String, requiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type)), cardinality As ImportCardinality, isRecomposable As Boolean, isPreRequisite As Boolean, requiredCreationPolicy As CreationPolicy, metadata As IDictionary(Of String, Object), isExportFactory As Boolean, origin As ICompositionElement) As ContractBasedImportDefinition

매개 변수

importingMember
LazyMemberInfo

가져올 멤버입니다.

contractName
String

가져오기에 사용할 계약 이름입니다.

requiredTypeIdentity
String

가져오기에 대한 필수 형식 ID입니다.

requiredMetadata
IEnumerable<KeyValuePair<String,Type>>

가져오기에 대한 필수 메타데이터입니다.

cardinality
ImportCardinality

가져오기의 카디널리티입니다.

isRecomposable
Boolean

가져오기를 다시 작성할 수 있음을 나타내려면 true이고 그렇지 않으면 false입니다.

isPreRequisite
Boolean

가져오기가 전제 조건임을 나타내려면 true이고, 그렇지 않으면 false입니다.

requiredCreationPolicy
CreationPolicy

가져오기의 만들기 정책을 지정하는 열거형 값 중 하나입니다.

metadata
IDictionary<String,Object>

계약 메타데이터입니다.

isExportFactory
Boolean

가져오기가 ExportFactory<T>을 표시한다는 것을 나타내려면 true이고 그렇지 않으면 false입니다.

origin
ICompositionElement

가져올 개체입니다.

반환

지정된 매개 변수에서 만들어진 가져오기 정의입니다.

적용 대상