Condividi tramite


IEntityToType.TryMapToDateRanges Metodo

Definizione

Provare a eseguire il mapping delle istanze LUIS EntityRecommendation a un elenco di DateTime intervalli, rispetto al momento.

public bool TryMapToDateRanges(DateTime now, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> entities, out System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Internals.Fibers.Range<DateTime>> ranges);
abstract member TryMapToDateRanges : DateTime * seq<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> * seq -> bool
Public Function TryMapToDateRanges (now As DateTime, entities As IEnumerable(Of EntityRecommendation), ByRef ranges As IEnumerable(Of Range(Of DateTime))) As Boolean

Parametri

now
DateTime

Riferimento a DateTime.

entities
IEnumerable<EntityRecommendation>

Elenco di istanze eventualmente rilevanti EntityRecommendation .

ranges
IEnumerable<Range<DateTime>>

Intervalli di output DateTime .

Restituisce

True se il mapping potrebbe avere esito positivo, false in caso contrario.

Si applica a