Class UInt64
- Namespace
- BotManager.Runtime.Expressions
- Assembly
- BotManager.Runtime.dll
[JsonConverter(typeof(UInt64Converter))]
public sealed class UInt64 : IExpression
- Inheritance
-
UInt64
- Implements
- Inherited Members
Constructors
UInt64()
Empty constructor for serialization.
public UInt64()
UInt64(ulong)
Creates a ulong expression.
public UInt64(ulong value)
Parameters
valueulongThe value.
Properties
Value
Gets and sets the value.
[JsonRootProperty]
public ulong Value { get; set; }
Property Value
Methods
ExecuteAsync(RuntimeContext, Type?)
Executes the expression in the given RuntimeContext. Please do not use this method to run an expression. Use ExecuteAsync(IExpression?) instead.
public Task<object?> ExecuteAsync(RuntimeContext context, Type? returnType)
Parameters
contextRuntimeContextThe current runtime context.
returnTypeTypeThe expected return type. Use
typeof(object)for a generic result. Usenullif you don't need the return value.