Table of Contents

Class ExportDefinitionBinding

Namespace
Microsoft.VisualStudio.Composition
Assembly
Microsoft.VisualStudio.Composition.dll
public class ExportDefinitionBinding : IEquatable<ExportDefinitionBinding>
Inheritance
ExportDefinitionBinding
Implements
Inherited Members

Constructors

ExportDefinitionBinding(ExportDefinition, ComposablePartDefinition, MemberRef?)

public ExportDefinitionBinding(ExportDefinition exportDefinition, ComposablePartDefinition partDefinition, MemberRef? exportingMemberRef)

Parameters

exportDefinition ExportDefinition
partDefinition ComposablePartDefinition
exportingMemberRef MemberRef

Properties

ExportDefinition

public ExportDefinition ExportDefinition { get; }

Property Value

ExportDefinition

ExportedValueType

public Type ExportedValueType { get; }

Property Value

Type

ExportedValueTypeRef

public TypeRef ExportedValueTypeRef { get; }

Property Value

TypeRef

ExportingMember

Gets the member with the ExportAttribute applied. null when the export is on the type itself.

public MemberInfo? ExportingMember { get; }

Property Value

MemberInfo

ExportingMemberRef

Gets the member with the ExportAttribute applied. The return value is null when the export is on the type itself.

public MemberRef? ExportingMemberRef { get; }

Property Value

MemberRef

IsStaticExport

Gets a value indicating whether the exporting member is static.

public bool IsStaticExport { get; }

Property Value

bool

PartDefinition

public ComposablePartDefinition PartDefinition { get; }

Property Value

ComposablePartDefinition

Methods

Equals(ExportDefinitionBinding?)

public bool Equals(ExportDefinitionBinding? other)

Parameters

other ExportDefinitionBinding

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int