2using System.Collections.Generic;
3using System.Reflection;
4using System.Threading.Tasks;
68 List<IPaymentService> Providers =
new List<IPaymentService>();
72 foreach (Type T
in ServiceTypes)
82 Providers.Add(Service);
Gets service providers that can be used to pay for services, given a country and a currency.
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
GetServiceProvidersForPayments(ScriptNode CountryCode, ScriptNode Currency, int Start, int Length, Expression Expression)
Gets service providers that can be used to pay for services, given a country and a currency.
override IElement EvaluateScalar(string Argument1, string Argument2, Variables Variables)
Evaluates the function on two scalar arguments.
override string[] DefaultArgumentNames
Default Argument names
override string FunctionName
Name of the function
override async Task< IElement > EvaluateScalarAsync(string Argument1, string Argument2, Variables Variables)
Evaluates the function on two scalar arguments.
Contains information about a service provider.
Static class that dynamically manages types and interfaces available in the runtime environment.
static object[] NoParameters
Contains an empty array of parameter values.
static Type[] GetTypesImplementingInterface(string InterfaceFullName)
Gets all types implementing a given interface.
static ConstructorInfo GetDefaultConstructor(Type Type)
Gets the default constructor of a type, if one exists.
Class managing a script expression.
Base class for funcions of two scalar variables.
ScriptNode Argument2
Function argument 2.
ScriptNode Argument1
Function argument 1.
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.
Interface for information about a service provider that users can use to pay for services.
Interface for information about a service provider that users can use to pay for services.
Basic interface for all types of elements.