Langue

IEntityToType.TryMapToDateRanges Méthode

Définition

Essayez de mapper les instances LUIS EntityRecommendation à une liste de DateTime plages, par rapport à maintenant.

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

Paramètres

now
DateTime

Le désormais fait référence DateTimeà .

entities
IEnumerable<EntityRecommendation>

Une liste d’exemples potentiellement pertinents EntityRecommendation .

ranges
IEnumerable<Range<DateTime>>

Les plages de sortie DateTime .

Retours

Vrai si la cartographie a pu être réussie, faux sinon.

S’applique à