Click or drag to resize
Grid Solutions Framework

ParametersValueT(String) Method

Gets typed value of parameter with specified name, if name is found and the value can be cast as type.

Namespace: GrafanaAdapters.Functions
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.218-beta
Syntax
public T Value<T>(
	string name
)
View Source

Parameters

name  String
Name of parameter to get.

Type Parameters

T
The type of the parameter.

Return Value

T
The typed value of parameter with the specified name if the parameter name can be found and the value can be cast to specified type; otherwise, default value.
Remarks
Parameter name lookup dictionary is lazy initialized. Using index-based lookups is more efficient. This function will not throw an exception if the name is not found.
See Also