/// <summary> /// Initializes a new instance of the <see cref="EvaluationFunction"/> class. /// </summary> public EvaluationFunction( PureFunctionAsync functionAsync, FunctionAdditionalSelectResolver additionalSelectResolver = null, FunctionPathsResolver pathsResolver = null) { _functionAsync = functionAsync ?? throw new ArgumentNullException(nameof(functionAsync)); _additionalSelectResolver = additionalSelectResolver; _pathsResolver = pathsResolver; }
public TemplateFunction( PureFunction function, FunctionAdditionalSelectResolver additionalSelectResolver = null, FunctionPathsResolver pathsResolver = null) { _function = function ?? throw new ArgumentNullException(nameof(function)); _additionalSelectResolver = additionalSelectResolver; _pathsResolver = pathsResolver; }