Class MemoryBinding
Represents a host memory binding.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Wasmtime.Bindings
Assembly: Wasmtime.Dotnet.dll
Syntax
public class MemoryBinding : Binding
Constructors
| Improve this Doc View SourceMemoryBinding(MemoryImport, FieldInfo)
Constructs a new memory binding.
Declaration
public MemoryBinding(MemoryImport import, FieldInfo field)
Parameters
| Type | Name | Description |
|---|---|---|
| MemoryImport | import | The memory import of the binding. |
| System.Reflection.FieldInfo | field | The field the import is bound to. |
Properties
| Improve this Doc View SourceField
The field the import is bound to.
Declaration
public FieldInfo Field { get; }
Property Value
| Type | Description |
|---|---|
| System.Reflection.FieldInfo |
Import
The memory import of the binding.
Declaration
public MemoryImport Import { get; }
Property Value
| Type | Description |
|---|---|
| MemoryImport |