Table of Contents

Class RuntimeComposition.RuntimePart

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

Constructors

RuntimePart(TypeRef, MethodRef?, IReadOnlyList<RuntimeImport>, IReadOnlyList<RuntimeImport>, IReadOnlyList<RuntimeExport>, IReadOnlyList<MethodRef>, string?)

public RuntimePart(TypeRef type, MethodRef? importingConstructor, IReadOnlyList<RuntimeComposition.RuntimeImport> importingConstructorArguments, IReadOnlyList<RuntimeComposition.RuntimeImport> importingMembers, IReadOnlyList<RuntimeComposition.RuntimeExport> exports, IReadOnlyList<MethodRef> onImportsSatisfiedMethods, string? sharingBoundary)

Parameters

type TypeRef
importingConstructor MethodRef
importingConstructorArguments IReadOnlyList<RuntimeComposition.RuntimeImport>
importingMembers IReadOnlyList<RuntimeComposition.RuntimeImport>
exports IReadOnlyList<RuntimeComposition.RuntimeExport>
onImportsSatisfiedMethods IReadOnlyList<MethodRef>
sharingBoundary string

Properties

Exports

public IReadOnlyList<RuntimeComposition.RuntimeExport> Exports { get; set; }

Property Value

IReadOnlyList<RuntimeComposition.RuntimeExport>

ImportingConstructorArguments

public IReadOnlyList<RuntimeComposition.RuntimeImport> ImportingConstructorArguments { get; }

Property Value

IReadOnlyList<RuntimeComposition.RuntimeImport>

ImportingConstructorOrFactoryMethod

public MethodBase? ImportingConstructorOrFactoryMethod { get; }

Property Value

MethodBase

ImportingConstructorOrFactoryMethodRef

public MethodRef? ImportingConstructorOrFactoryMethodRef { get; }

Property Value

MethodRef

ImportingMembers

public IReadOnlyList<RuntimeComposition.RuntimeImport> ImportingMembers { get; }

Property Value

IReadOnlyList<RuntimeComposition.RuntimeImport>

IsInstantiable

public bool IsInstantiable { get; }

Property Value

bool

IsShared

public bool IsShared { get; }

Property Value

bool

OnImportsSatisfiedMethodRefs

public IReadOnlyList<MethodRef> OnImportsSatisfiedMethodRefs { get; }

Property Value

IReadOnlyList<MethodRef>

SharingBoundary

public string? SharingBoundary { get; }

Property Value

string

TypeRef

public TypeRef TypeRef { get; }

Property Value

TypeRef

Methods

Equals(RuntimePart?)

public bool Equals(RuntimeComposition.RuntimePart? other)

Parameters

other RuntimeComposition.RuntimePart

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int