Share via


ComposablePartDefinition Class

Definition

[System.Diagnostics.DebuggerDisplay("{Type.Name}")]
public class ComposablePartDefinition : IEquatable<Microsoft.VisualStudio.Composition.ComposablePartDefinition>
[<System.Diagnostics.DebuggerDisplay("{Type.Name}")>]
type ComposablePartDefinition = class
    interface IEquatable<ComposablePartDefinition>
Public Class ComposablePartDefinition
Implements IEquatable(Of ComposablePartDefinition)
Inheritance
ComposablePartDefinition
Attributes
Implements

Constructors

ComposablePartDefinition(TypeRef, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<ExportDefinition>, IReadOnlyDictionary<MemberRef, IReadOnlyCollection<ExportDefinition>>, IEnumerable<ImportDefinitionBinding>, String, MethodRef, MethodRef, IReadOnlyList<ImportDefinitionBinding>, CreationPolicy, Boolean)

Initializes a new instance of the ComposablePartDefinition class.

ComposablePartDefinition(TypeRef, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<ExportDefinition>, IReadOnlyDictionary<MemberRef, IReadOnlyCollection<ExportDefinition>>, IEnumerable<ImportDefinitionBinding>, String, MethodRef, MethodRef, IReadOnlyList<ImportDefinitionBinding>, CreationPolicy, IEnumerable<AssemblyName>, Boolean)

Initializes a new instance of the ComposablePartDefinition class.

Properties

CreationPolicy
ExportDefinitions

Gets a sequence of all exports found on this part (both the type directly and its members).

ExportedTypes

Gets the types exported on the part itself.

ExportingMembers

Gets the exports found on members of the part (exporting properties, fields, methods.)

ExtraInputAssemblies

Gets the sequence of extra input assemblies that will be added to the input assemblies for this ComposablePartDefinition.

Id
ImportingConstructorImports

Gets the list of parameters on the importing constructor, or null if the part cannot be instantiated.

ImportingConstructorOrFactory
ImportingConstructorOrFactoryRef
ImportingMembers
Imports

Gets a sequence of all imports found on this part (both members and importing constructor).

IsInstantiable
IsShared
IsSharingBoundaryInferred

Gets a value indicating whether the sharing boundary must be inferred from what is imported.

Metadata

Gets the metadata for this part.

OnImportsSatisfied
OnImportsSatisfiedRef
SharingBoundary
Type
TypeRef

Methods

Equals(ComposablePartDefinition)
Equals(Object)
GetHashCode()
ToString(TextWriter)

Applies to