Share via


ImportDefinitionBinding Class

Definition

public class ImportDefinitionBinding : IEquatable<Microsoft.VisualStudio.Composition.ImportDefinitionBinding>
type ImportDefinitionBinding = class
    interface IEquatable<ImportDefinitionBinding>
Public Class ImportDefinitionBinding
Implements IEquatable(Of ImportDefinitionBinding)
Inheritance
ImportDefinitionBinding
Implements

Constructors

ImportDefinitionBinding(ImportDefinition, TypeRef, MemberRef, TypeRef, TypeRef)

Initializes a new instance of the ImportDefinitionBinding class to represent an importing member.

ImportDefinitionBinding(ImportDefinition, TypeRef, ParameterRef, TypeRef, TypeRef)

Initializes a new instance of the ImportDefinitionBinding class to represent a parameter in an importing constructor.

Properties

ComposablePartType
ComposablePartTypeRef
ExportFactoryType
ImportDefinition

Gets the definition for this import.

ImportingMember

Gets the member this import is found on. Null for importing constructors.

ImportingMemberRef

Gets the member this import is found on. Null for importing constructors.

ImportingParameter
ImportingParameterRef
ImportingSiteElementType

Gets the type of the member, with the ImportMany collection and Lazy/ExportFactory stripped off, when present.

ImportingSiteElementTypeRef

Gets the type of the member, with the ImportMany collection and Lazy/ExportFactory stripped off, when present.

ImportingSiteType

Gets the actual type of the variable or member that will be assigned the result. This includes any Lazy, ExportFactory or collection wrappers.

ImportingSiteTypeRef

Gets the actual type of the variable or member that will be assigned the result. This includes any Lazy, ExportFactory or collection wrappers.

ImportingSiteTypeWithoutCollection
ImportingSiteTypeWithoutCollectionRef
IsExportFactory
IsLazy
MetadataType

Methods

Equals(ImportDefinitionBinding)
Equals(Object)
GetHashCode()
ToString(TextWriter)

Applies to