Skip to main content

Namespace WaaS.ComponentModel.Binding

Classes​

ComponentAliasAttribute​

Indicates to generate formatter for the alias type.

ComponentApiAttribute​

Indicates the method is API of the component.

ComponentCaseAttribute​

Indicates the property is a case of the containing variant type.

ComponentFieldAttribute​

Indicates the property or the field is a field of the containing record type.

ComponentInterfaceAttribute​

Indicates the interface is a component interface or world.

ComponentRecordAttribute​

ComponentResourceAttribute​

Indicates the interface is a component resource implementation.

ComponentVariantAttribute​

Indicates the struct is a variant type.

ComponentWitDefinitionAttribute​

Holds the WIT definition of an interface declared with WaaS.ComponentModel.Binding.ComponentInterfaceAttribute. This attribute is applied by the source generator and is used to export WIT files.

DirectInvocation​

Conversions from core values used by the generated bindings. Numbers lifted from a guest have the same canonicalization as WaaS.ComponentModel.Runtime.ValueLifter.

ExternalFunction​

Represents a function whose implementation is provided by the host code.

ExternalFunctionDelegate​

FormatterProvider​

Provides Canonical ABI formatters for types.

HostResourceTypeBase<T>​

Base class for host-provided resource types.

OptionExtensions​

PushPullAdapter​

An adapter for pushing and pulling values. Values pushed while no one is pulling are buffered, and pulled later without suspension.

WitPackageBuilder​

Builds WIT packages from the definitions generated for interfaces with WaaS.ComponentModel.Binding.ComponentInterfaceAttribute.

Structs​

Borrowed<T>​

Borrowed resource handle.

ComponentChar​

Represents a component character (Unicode scalar value).

DirectInvocationContext​

What a host function called directly needs to access the guest. It is used by the generated bindings.

ListPrelude​

Prelude for a list in Canonical ABI.

None​

Option<T>​

Component option type.

Owned<T>​

Owned resource handle.

Pullable​

Pullable interface for Canonical ABI.

RecordPrelude​

Prelude for a record in Canonical ABI.

Result<TOk, TError>​

Component result type.

VariantPrelude​

Prelude for a variant type in Canonical ABI.

Interfaces​

IFormatter<T>​

Canonical ABI formatter.

IHostResourceType<T>​

Host-provided resource type.

IProceduralFormatterProvider​

Provides formatters procedurally.

IResourceImpl​

Represents the implementation of a resource.

Enums​

Option<T>.VariantCase​

Result<TOk, TError>.VariantCase​

Delegates​

ExternalFunctionDelegate.InvokeAsyncDelegate​