Share via


DateTimeSpec(String, IEnumerable<String>) Constructor

Definition

Initializes a new instance of the DateTimeSpec class.

public DateTimeSpec (string type, System.Collections.Generic.IEnumerable<string> expressions);
new Microsoft.Bot.Builder.AI.Luis.DateTimeSpec : string * seq<string> -> Microsoft.Bot.Builder.AI.Luis.DateTimeSpec
Public Sub New (type As String, expressions As IEnumerable(Of String))

Parameters

type
String

The type of TIMEX expression.

expressions
IEnumerable<String>

The TIMEX expression.

Exceptions

type is null or contains only white space, or expressions is null.

Applies to