Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Conversation.UpdateContainer(builder =>
- {
- builder.RegisterModule<MyModule>();
- });
- builder.Register(c => new BotFrameworkApplicationInsightsInstrumentation(CreateBasicSettings()))
- .Keyed<IBotFrameworkInstrumentation>(InstrumentationType.Basic)
- .SingleInstance();
- builder.Register(c => new BotFrameworkApplicationInsightsInstrumentation(CreateSettingsWithCognitiveServices()))
- .Keyed<IBotFrameworkInstrumentation>(InstrumentationType.Cognitive)
- .SingleInstance();
- _container = builder.Build();
- Since i am not aware of the latest Autofac, can any one please guide me?
Add Comment
Please, Sign In to add comment