We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3027580 commit 0f6645fCopy full SHA for 0f6645f
README.md
@@ -4,5 +4,13 @@ Microsoft Bot Builder Storage provider based on LiteDb database
4
## Usage
5
In Startup.cs , replace MemoryStorage with BinaryFog.Bot.Builder.LiteDb.LiteDbStorage
6
```C#
7
- services.AddSingleton<IStorage, BinaryFog.Bot.Builder.LiteDb.LiteDbStorage>();
+ var storage = new BinaryFog.Bot.Builder.LiteDb.LiteDbStorage();
8
+
9
+ // Create the User state passing in the storage layer.
10
+ var userState = new UserState(storage);
11
+ services.AddSingleton(userState);
12
13
+ // Create the Conversation state passing in the storage layer.
14
+ var conversationState = new ConversationState(storage);
15
+ services.AddSingleton(conversationState);
16
```
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments