コード例 #1
0
 private static EvaluateExpressionDelegate Evaluator()
 {
     return(FunctionUtils.ApplyWithError(args => ToXml(args[0])));
 }
コード例 #2
0
 private static EvaluateExpressionDelegate Evaluator()
 {
     return(FunctionUtils.ApplyWithError(args => EvalXPath(args[0], args[1])));
 }
コード例 #3
0
ファイル: Month.cs プロジェクト: stantoxt/botbuilder-dotnet
 private static EvaluateExpressionDelegate Evaluator()
 {
     return(FunctionUtils.ApplyWithError(args => FunctionUtils.NormalizeToDateTime(args[0], dt => dt.Month)));
 }
コード例 #4
0
 private static EvaluateExpressionDelegate Evaluator()
 {
     return(FunctionUtils.ApplyWithError(args => FunctionUtils.NormalizeToDateTime(args[0], dt => FunctionUtils.ParseInt32(dt.DayOfWeek))));
 }
コード例 #5
0
ファイル: Date.cs プロジェクト: stantoxt/botbuilder-dotnet
 private static EvaluateExpressionDelegate Evaluator()
 {
     return(FunctionUtils.ApplyWithError(args => FunctionUtils.NormalizeToDateTime(args[0], dt => dt.Date.ToString("M/dd/yyyy", CultureInfo.InvariantCulture))));
 }