Click or drag to resize

DataFlowParameterResolutionResolveWithDefaultT Method

Resolve a typed value by first looking at the parameter value provider and by using the evaluator if one was provided or returning the provided default value if no value was found.

Namespace:  com.espertech.esper.common.client.dataflow.util
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public static T ResolveWithDefault<T>(
	string name,
	ExprEvaluator optionalEvaluator,
	T defaultValue,
	DataFlowOpInitializeContext context
)

Parameters

name
Type: SystemString
parameter name
optionalEvaluator
Type: ExprEvaluator
evaluator
defaultValue
Type: T
default value
context
Type: DataFlowOpInitializeContext
initialization context

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:com.espertech.esper.common.client.dataflow.util.DataFlowParameterResolution.ResolveWithDefault``1(System.String,com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator,``0,com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpInitializeContext)"]

Return Value

Type: T
value
See Also