Microsoft.Bot.Builder.ConnectorEx.ILocaleFinder Interface Reference

The interface for finding and setting locale for LocalizedScope in SetAmbientThreadCulture. More...

Inheritance diagram for Microsoft.Bot.Builder.ConnectorEx.ILocaleFinder:

Public Member Functions

Task< string > FindLocale (IActivity activity, CancellationToken token)
 Given an activity it finds the locale. More...
 

Detailed Description

The interface for finding and setting locale for LocalizedScope in SetAmbientThreadCulture.

Definition at line 14 of file LocaleFinder.cs.

Member Function Documentation

Task<string> Microsoft.Bot.Builder.ConnectorEx.ILocaleFinder.FindLocale ( IActivity  activity,
CancellationToken  token 
)

Given an activity it finds the locale.

Parameters
activityThe activity.
tokenThe cancellation token.
Returns

Implemented in Microsoft.Bot.Builder.ConnectorEx.LocaleFinder.


The documentation for this interface was generated from the following file: