Share via


IEntityToType Interface

Definition

An abtraction to map from a LUIS EntityRecommendation to specific CLR types.

public interface IEntityToType
type IEntityToType = interface
Public Interface IEntityToType
Derived

Methods

TryMapToDateRanges(DateTime, IEnumerable<EntityRecommendation>, IEnumerable<Range<DateTime>>)

Try to map LUIS EntityRecommendation instances to a list of DateTime ranges, relative to now.

TryMapToTimeSpan(DateTime, IEnumerable<EntityRecommendation>, TimeSpan)

Try to map LUIS EntityRecommendation instances to a TimeSpan, relative to now.

Applies to