AttributedPartDiscovery Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class AttributedPartDiscovery : Microsoft.VisualStudio.Composition.PartDiscovery
type AttributedPartDiscovery = class
inherit PartDiscovery
Public Class AttributedPartDiscovery
Inherits PartDiscovery
- Inheritance
Constructors
AttributedPartDiscovery(Resolver, Boolean) |
Properties
IsNonPublicSupported |
Gets a value indicating whether non-public types and members will be explored. |
PublicVsNonPublicFlags |
Gets the flags that select just public members or public and non-public as appropriate. |
Resolver | (Inherited from PartDiscovery) |
Methods
CreatePart(Type, Boolean) | |
CreatePart(Type) |
Reflects on a type and returns metadata on its role as a MEF part, if applicable. (Inherited from PartDiscovery) |
CreatePartsAsync(Assembly, CancellationToken) |
Reflects over an assembly and produces MEF parts for every applicable type. (Inherited from PartDiscovery) |
CreatePartsAsync(IEnumerable<Assembly>, IProgress<DiscoveryProgress>, CancellationToken) |
Reflects over a set of assemblies and produces MEF parts for every applicable type. (Inherited from PartDiscovery) |
CreatePartsAsync(IEnumerable<String>, IProgress<DiscoveryProgress>, CancellationToken) |
Reflects over a set of assemblies and produces MEF parts for every applicable type. (Inherited from PartDiscovery) |
CreatePartsAsync(IEnumerable<Type>, CancellationToken) | (Inherited from PartDiscovery) |
CreatePartsAsync(Type[]) | (Inherited from PartDiscovery) |
GetMetadataViewConstraints(Type, Boolean) | (Inherited from PartDiscovery) |
GetTypes(Assembly) | |
IsExportFactoryType(Type) | |
ThrowOnInvalidExportingMember(ICustomAttributeProvider) |
Throws an exception if certain basic rules for an exporting member are violated. (Inherited from PartDiscovery) |
ThrowOnInvalidImportingMemberOrParameter(ICustomAttributeProvider, Boolean) |
Throws an exception if certain basic rules for an importing member or parameter are violated. (Inherited from PartDiscovery) |