語言

AttributedPartDiscoveryV1 類別

定義

public class AttributedPartDiscoveryV1 : Microsoft.VisualStudio.Composition.PartDiscovery
type AttributedPartDiscoveryV1 = class
    inherit PartDiscovery
Public Class AttributedPartDiscoveryV1
Inherits PartDiscovery
繼承
AttributedPartDiscoveryV1

建構函式

名稱 Description
AttributedPartDiscoveryV1(Resolver)

屬性

名稱 Description
Resolver (繼承來源 PartDiscovery)

方法

名稱 Description
CreatePart(Type, Boolean)
CreatePart(Type)

反映類型,並視情況傳回其角色上的元數據做為MEF元件。

(繼承來源 PartDiscovery)
CreatePartsAsync(Assembly, CancellationToken)

反映元件,並針對每個適用的類型產生MEF元件。

(繼承來源 PartDiscovery)
CreatePartsAsync(IEnumerable<Assembly>, IProgress<DiscoveryProgress>, CancellationToken)

反映一元件,併為每個適用的類型產生MEF元件。

(繼承來源 PartDiscovery)
CreatePartsAsync(IEnumerable<String>, IProgress<DiscoveryProgress>, CancellationToken)

反映一元件,併為每個適用的類型產生MEF元件。

(繼承來源 PartDiscovery)
CreatePartsAsync(IEnumerable<Type>, CancellationToken) (繼承來源 PartDiscovery)
CreatePartsAsync(Type[]) (繼承來源 PartDiscovery)
GetMetadataViewConstraints(Type, Boolean) (繼承來源 PartDiscovery)
GetTypes(Assembly)
IsExportFactoryType(Type)
ThrowOnInvalidExportingMember(ICustomAttributeProvider)

如果違反導出成員的特定基本規則,則會擲回例外狀況。

(繼承來源 PartDiscovery)
ThrowOnInvalidImportingMemberOrParameter(ICustomAttributeProvider, Boolean)

如果違反匯入成員或參數的特定基本規則,則會擲回例外狀況。

(繼承來源 PartDiscovery)

適用於