TimeTransformEvaluator(String, Func<DateTime,Int32,DateTime>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The time transformation function, it takes a DateTime object and an integer, returns a DateTime object.