Share via


TimeTransformEvaluator(String, Func<DateTime,Int32,DateTime>) Constructor

Definition

Initializes a new instance of the TimeTransformEvaluator class.

public TimeTransformEvaluator (string type, Func<DateTime,int,DateTime> function);
new AdaptiveExpressions.BuiltinFunctions.TimeTransformEvaluator : string * Func<DateTime, int, DateTime> -> AdaptiveExpressions.BuiltinFunctions.TimeTransformEvaluator
Public Sub New (type As String, function As Func(Of DateTime, Integer, DateTime))

Parameters

type
String

Name of the built-in function.

function
Func<DateTime,Int32,DateTime>

The time transformation function, it takes a DateTime object and an integer, returns a DateTime object.

Applies to