Click or drag to resize
Grid Solutions Framework

PhasorValue.TransposeCompute Method

Executes provided function for data source fields, applying the results to a copy of the data source value and returns the new result.

Namespace: GrafanaAdapters.DataSources.BuiltIn
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax
public PhasorValue TransposeCompute(
	Func<double, double> function
)
View Source

Parameters

function  Func<Double, Double>
Function to compute.

Return Value

PhasorValue
Computed result.

Implements

IDataSourceValue<T>.TransposeCompute(Func<Double, Double>)
Remarks
This function is used to compute a new data source value, applying the specified function operation to all value fields in the data source.
See Also