Class Global<T>
Represents a constant WebAssembly global value.
Inheritance
System.Object
Global<T>
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
Assembly: Wasmtime.Dotnet.dll
Syntax
public class Global<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceGlobal(T)
Creates a new Global<T> with the given initial value.
Declaration
public Global(T initialValue)
Parameters
Type | Name | Description |
---|---|---|
T | initialValue | The initial value of the global. |
Properties
| Improve this Doc View SourceValue
The value of the global.
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T |