ComponentExternType Class

The type of an import or an export of a component, of an instance or of a component type.

public sealed class ComponentExternType

Properties

NameDescription
KindGets the kind of the definition.
ModuleTypeGets the type of a core module, or null.
TypeGets the type: a ComponentFunctionType, a ComponentInstanceType, a ComponentComponentType, or for a type, the type it is equal to (a ComponentResourceType for the abstract resource types); null for a core module or a value.
ValueTypeGets the type of a value, or null.

Gets the kind of the definition.

public ComponentExternKind Kind { get; }

Property value

ComponentExternKind

Gets the type of a core module, or null.

public ComponentModuleType? ModuleType { get; }

Property value

ComponentModuleType?

Gets the type: a ComponentFunctionType, a ComponentInstanceType, a ComponentComponentType, or for a type, the type it is equal to (a ComponentResourceType for the abstract resource types); null for a core module or a value.

public ComponentType? Type { get; }

Property value

ComponentType?

Gets the type of a value, or null.

public ComponentValueType? ValueType { get; }

Property value

ComponentValueType?

Methods

NameDescription
ToString()Returns a string that represents the current object.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.