ComponentInstanceType Class

The type of a component instance: its exports.

public sealed class ComponentInstanceType : ComponentType
Inheritance
ComponentType ComponentInstanceType

Properties

NameDescription
ExportsGets the exports.

Gets the exports.

public ImmutableArray<ComponentExternDescriptor> Exports { get; }

Methods

NameDescription
GetExport(string)Returns the export whose name is name, or null.
ToString()Returns a string that represents the current object.

GetExport(string)

ComponentTypes.cs

Returns the export whose name is name, or null.

public ComponentExternType? GetExport(string name)

Parameters

name string
The name of the export.

Returns

ComponentExternType?

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.