Microsoft.Bot.Builder.Internals.Scorables.ActivityResolver Class Reference

A resolver to recover C# type information from Activity schema types. More...

Inheritance diagram for Microsoft.Bot.Builder.Internals.Scorables.ActivityResolver:

Public Member Functions

 ActivityResolver (IResolver inner)
override bool TryResolve (Type type, object tag, out object value)

Static Public Attributes

static readonly IReadOnlyDictionary< string, Type > TypeByName

Protected Attributes

readonly IResolver inner

Detailed Description

A resolver to recover C# type information from Activity schema types.

Definition at line 137 of file Resolver.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Internals.Scorables.ActivityResolver.ActivityResolver ( IResolver  inner)

Definition at line 139 of file Resolver.cs.

Member Function Documentation

override bool Microsoft.Bot.Builder.Internals.Scorables.ActivityResolver.TryResolve ( Type  type,
object  tag,
out object  value 

Reimplemented from Microsoft.Bot.Builder.Internals.Scorables.DelegatingResolver.

Definition at line 154 of file Resolver.cs.

Member Data Documentation

readonly IResolver Microsoft.Bot.Builder.Internals.Scorables.DelegatingResolver.inner

Definition at line 91 of file Resolver.cs.

readonly IReadOnlyDictionary<string, Type> Microsoft.Bot.Builder.Internals.Scorables.ActivityResolver.TypeByName
Initial value:
= new Dictionary<string, Type>(StringComparer.OrdinalIgnoreCase)
{ ActivityTypes.ContactRelationUpdate, typeof(IContactRelationUpdateActivity) },
{ ActivityTypes.ConversationUpdate, typeof(IConversationUpdateActivity) },
{ ActivityTypes.DeleteUserData, typeof(IActivity) },
{ ActivityTypes.Message, typeof(IMessageActivity) },
{ ActivityTypes.Ping, typeof(IActivity) },
{ ActivityTypes.Typing, typeof(ITypingActivity) },

Definition at line 144 of file Resolver.cs.

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