3using System.Threading.Tasks;
59 if (IPAddress.TryParse(
Argument, out IPAddress IP))
84 if (
Argument.AssociatedObjectValue is IPAddress IP ||
85 IPAddress.TryParse(
Argument.AssociatedObjectValue?.
ToString() ??
string.Empty, out IP))
WHOIS client, as defined in RFC 3912: https://tools.ietf.org/html/rfc3912
static async Task< string > Query(string InternetRegistry, string Entity)
Queries an Internet Registry about an entity.
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 a WHOIS query regarding an IP address.
WhoIs(ScriptNode Argument, int Start, int Length, Expression Expression)
Makes a WHOIS query regarding an IP address.
override async Task< IElement > EvaluateScalarAsync(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(string 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 bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
Basic interface for all types of elements.