3using System.Threading.Tasks;
60 if (IPAddress.TryParse(
Argument, out IPAddress IP))
95 if (
Argument.AssociatedObjectValue is IPAddress IP ||
96 IPAddress.TryParse(
Argument.AssociatedObjectValue?.
ToString() ??
string.Empty, out IP))
Static class managing encoding and decoding of internet content.
static Task< object > GetAsync(Uri Uri, params KeyValuePair< string, string >[] Headers)
Gets a resource, given its URI.
WHOIS client, as defined in RFC 3912: https://tools.ietf.org/html/rfc3912
static Uri RdapUri(IPAddress Address)
Gets the RDAP URI for an IP Address. It points to a JSON object containing WHOIS information about th...
Script runtime exception.
Class managing a script 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.
override string ToString()
int Start
Start position in script expression.
Makes an RDAP query regarding an IP address.
Rdap(ScriptNode Argument, int Start, int Length, Expression Expression)
Makes an RDAP query regarding an IP address.
override IElement EvaluateScalar(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
override IElement EvaluateScalar(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override async Task< IElement > EvaluateScalarAsync(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override string FunctionName
Name of the function
override async Task< IElement > EvaluateScalarAsync(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
Basic interface for all types of elements.