Microsoft.Bot.Builder.ConnectorEx.LocaleFinder Class Reference

The locale finder implementation based on ResumptionContext. More...

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

Public Member Functions

 LocaleFinder (ConversationReference conversationReference, ResumptionContext resumptionContext)
 
async Task< string > FindLocale (IActivity activity, CancellationToken token)
 Given an activity it finds the locale. More...
 

Detailed Description

The locale finder implementation based on ResumptionContext.

Definition at line 28 of file LocaleFinder.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.ConnectorEx.LocaleFinder.LocaleFinder ( ConversationReference  conversationReference,
ResumptionContext  resumptionContext 
)
inline

Definition at line 33 of file LocaleFinder.cs.

Member Function Documentation

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

Given an activity it finds the locale.

Parameters
activityThe activity.
tokenThe cancellation token.
Returns

Implements Microsoft.Bot.Builder.ConnectorEx.ILocaleFinder.

Definition at line 39 of file LocaleFinder.cs.


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