AttributedModelServices.Imports 메서드

정의

지정된 파트에 지정된 계약과 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

오버로드

Name Description
Imports(ComposablePartDefinition, Type)

지정된 파트에 지정된 계약 유형과 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Imports(ComposablePartDefinition, Type, ImportCardinality)

지정된 파트에 지정된 계약 유형 및 가져오기 카디널리티와 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Imports<T>(ComposablePartDefinition)

지정된 파트에 지정된 계약 유형과 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Imports<T>(ComposablePartDefinition, ImportCardinality)

지정된 파트에 지정된 계약 유형 및 가져오기 카디널리티와 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Imports(ComposablePartDefinition, Type)

지정된 파트에 지정된 계약 유형과 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Imports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part, Type ^ contractType);
public static bool Imports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, Type contractType);
static member Imports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * Type -> bool
<Extension()>
Public Function Imports (part As ComposablePartDefinition, contractType As Type) As Boolean

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

contractType
Type

계약 유형입니다.

반품

일치하는 가져오기 정의가 포함되어 있으면 /> 이고, 그렇지 않으면 .

적용 대상

Imports(ComposablePartDefinition, Type, ImportCardinality)

지정된 파트에 지정된 계약 유형 및 가져오기 카디널리티와 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Imports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part, Type ^ contractType, System::ComponentModel::Composition::Primitives::ImportCardinality importCardinality);
public static bool Imports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, Type contractType, System.ComponentModel.Composition.Primitives.ImportCardinality importCardinality);
static member Imports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * Type * System.ComponentModel.Composition.Primitives.ImportCardinality -> bool
<Extension()>
Public Function Imports (part As ComposablePartDefinition, contractType As Type, importCardinality As ImportCardinality) As Boolean

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

contractType
Type

계약 유형입니다.

importCardinality
ImportCardinality

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

반품

일치하는 가져오기 정의가 포함되어 있으면 />이고, 그렇지 않으면 .

적용 대상

Imports<T>(ComposablePartDefinition)

지정된 파트에 지정된 계약 유형과 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Imports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part);
public static bool Imports<T>(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part);
static member Imports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition -> bool
<Extension()>
Public Function Imports(Of T) (part As ComposablePartDefinition) As Boolean

형식 매개 변수

T

계약 유형입니다.

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

반품

형식의 가져오기 정의가 포함되어 있으면 />이고, 그렇지 않으면 .

적용 대상

Imports<T>(ComposablePartDefinition, ImportCardinality)

지정된 파트에 지정된 계약 유형 및 가져오기 카디널리티와 일치하는 가져오기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Imports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part, System::ComponentModel::Composition::Primitives::ImportCardinality importCardinality);
public static bool Imports<T>(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, System.ComponentModel.Composition.Primitives.ImportCardinality importCardinality);
static member Imports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * System.ComponentModel.Composition.Primitives.ImportCardinality -> bool
<Extension()>
Public Function Imports(Of T) (part As ComposablePartDefinition, importCardinality As ImportCardinality) As Boolean

형식 매개 변수

T

계약 유형입니다.

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

importCardinality
ImportCardinality

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

반품

지정된 가져오기 카디널리티가 있는 형식 의 가져오기 정의가 포함되어 있으면 />이고, 그렇지 않으면 .

적용 대상