小编Chi*_*mar的帖子

Bot Framework V4 IActivityLogger

我们是否有像 IActivityLogger (V3) 这样的界面,在 V4 中记录所有用户活动?

我想在我的 Cosmos 数据库中记录所有用户查询和机器人响应。我能够使用 IActivityLogger 接口在 V3 中做到这一点。

请建议。

.net c# .net-core botframework

5
推荐指数
1
解决办法
908
查看次数

如何组合两个不同类型的列表?

我有两个列表,一个是 ids 列表 List<int> ids = new List<int> { 1, 2, 3,4, 5};

另一个包含数据 Person 类的列表有两个属性 Id 和 Name

List<Person> persons= new List<Person> { new Person { Name = "test1"},  new Person { Name = "test2"},  new Person { Name = "test3"}, new Person { Name = "test4"},  new Person { Name = "test5"}};
Run Code Online (Sandbox Code Playgroud)

现在我想从 id 列表中为每个人填充 id。

有没有办法在 linq 中做到这一点?

.net c# .net-core

0
推荐指数
1
解决办法
97
查看次数

标签 统计

.net ×2

.net-core ×2

c# ×2

botframework ×1