Click or drag to resize
Grid Solutions Framework

GrafanaFunctionBaseTParseParameters Method

Executes custom parameter parsing for the Grafana function.

Namespace: GrafanaAdapters.Functions
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.207-beta
Syntax
public virtual (List<string> parsedParameters, string updatedQueryExpression) ParseParameters(
	QueryParameters queryParameters,
	string queryExpression
)
View Source

Parameters

queryParameters  QueryParameters
Query parameters.
queryExpression  String
Expression to parse.

Return Value

ValueTupleListString, String
A tuple of parsed parameters and any remaining query expression (typically the filter expression) after parsing parameters. Tuple of (null, null) should be returned to use standard parsing.

Implements

IGrafanaFunctionParseParameters(QueryParameters, String)
Remarks
This method is used to support custom parameter parsing for functions that may have special parameter parsing requirements. By default, this method will return a tuple of (null, null) meaning that standard parameter parsing will be used.
See Also