Microsoft.Bot.Builder.Dialogs.Internals.DialogModule Class Reference

Autofac module for Dialog components. More...

Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.DialogModule:

Static Public Member Functions

static ILifetimeScope BeginLifetimeScope (ILifetimeScope scope, IMessageActivity message)

Public Attributes

const string BlobKey = "DialogState"

Static Public Attributes

static readonly object Key_DeleteProfile_Regex = new object()
static readonly object Key_Dialog_Router = new object()
static readonly object LifetimeScopeTag = typeof(DialogModule)

Protected Member Functions

override void Load (ContainerBuilder builder)

Detailed Description

Autofac module for Dialog components.

Definition at line 54 of file DialogModule.cs.

Member Function Documentation

static ILifetimeScope Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.BeginLifetimeScope ( ILifetimeScope  scope,
IMessageActivity  message 

Definition at line 62 of file DialogModule.cs.

override void Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.Load ( ContainerBuilder  builder)

LogBotToUser is composed around MapToChannelData_BotToUser is composed around AlwaysSendDirect_BotToUser. The complexity of registering each component is pushed to a separate registration method, and each of these components are replaceable without re-registering the entire adapter chain by registering a new component with the same component key.

Definition at line 69 of file DialogModule.cs.

Member Data Documentation

const string Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.BlobKey = "DialogState"

Definition at line 56 of file DialogModule.cs.

readonly object Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.Key_DeleteProfile_Regex = new object()

Definition at line 59 of file DialogModule.cs.

readonly object Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.Key_Dialog_Router = new object()

Definition at line 60 of file DialogModule.cs.

readonly object Microsoft.Bot.Builder.Dialogs.Internals.DialogModule.LifetimeScopeTag = typeof(DialogModule)

Definition at line 57 of file DialogModule.cs.

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