1using System.Threading.Tasks;
39 if (!(
Argument.AssociatedObjectValue is
byte[] Bin))
41 if(!(
Argument.AssociatedObjectValue is
string s))
69 byte[] Bin = System.Text.Encoding.UTF8.GetBytes(
Argument);
Md5(ScriptNode Data, int Start, int Length, Expression Expression)
Md5(Data)
override string FunctionName
Name of the function
override IElement EvaluateScalar(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override Task< IElement > EvaluateScalarAsync(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override Task< IElement > EvaluateScalarAsync(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
Class managing a script expression.
static string ToString(double Value)
Converts a value to a string, that can be parsed as part of an expression.
Base class for funcions of one scalar variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Contains methods for simple hash calculations.
static byte[] ComputeMD5Hash(byte[] Data)
Computes the MD5 hash of a block of binary data.
Basic interface for all types of elements.