摘要: 一、Parallel类 Parallel类提供了数据和任务的并行性; 二、Paraller.For() Paraller.For()方法类似于C#的for循环语句,也是多次执行一个任务。使用Paraller.For()方法,可以并行运行迭代,迭代的顺序没有定义。 在For()方法中,前两个参数是固定 阅读全文
posted @ 2021-07-16 08:50 逆风起笔 阅读(315) 评论(0) 推荐(0)
摘要: LINQ使用group实现多字段的分组 https://blog.csdn.net/pan_junbiao/article/details/79968226 阅读全文
posted @ 2021-07-15 11:05 逆风起笔 阅读(108) 评论(0) 推荐(0)
摘要: using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MyStee 阅读全文
posted @ 2021-07-14 12:02 逆风起笔 阅读(1013) 评论(0) 推荐(0)
摘要: 引用命名空间:MongoDB.Driver;MongoDB.Driver.Builders; Query.All("name", "a", "b");//通过多个元素来匹配数组Query.And(Query.EQ("name", "a"), Query.EQ("title", "t"));//同时满 阅读全文
posted @ 2021-07-14 11:44 逆风起笔 阅读(241) 评论(0) 推荐(0)
摘要: List<userlist> userli = MACJH.ToObject<List<userlist>>(); var userlis = from s in userli select s.MACID; userlis 是数组格式 阅读全文
posted @ 2021-07-13 13:34 逆风起笔 阅读(221) 评论(0) 推荐(0)
摘要: ProductList.GroupBy(x=>x.WareHouseId).Select(x=>x.Key).ToArray(); 阅读全文
posted @ 2021-07-13 13:33 逆风起笔 阅读(584) 评论(0) 推荐(0)
摘要: JObject patientinfo = new JObject(); patientinfo["start_time"] = kssj; patientinfo["end_time"] = jssj; patientinfo["device_ids"] = device_ids; patient 阅读全文
posted @ 2021-07-13 13:31 逆风起笔 阅读(2973) 评论(0) 推荐(0)
摘要: transform: rotateY(180deg); 阅读全文
posted @ 2021-07-13 13:28 逆风起笔 阅读(133) 评论(0) 推荐(0)