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

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

Inheritance diagram for Microsoft.Bot.Builder.Scorables.Internals.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 47 of file ConnectorEx/Resolver.cs.

Constructor & Destructor Documentation

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

Definition at line 49 of file ConnectorEx/Resolver.cs.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 132 of file Base/Resolver.cs.

readonly IReadOnlyDictionary<string, Type> Microsoft.Bot.Builder.Scorables.Internals.ActivityResolver.TypeByName
static
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.Event, typeof(IEventActivity) },
{ ActivityTypes.Invoke, typeof(IInvokeActivity) },
{ ActivityTypes.Typing, typeof(ITypingActivity) },
}

Definition at line 54 of file ConnectorEx/Resolver.cs.


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