1.DelegateCommand.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 u ...
原因不在于doxygen,它没有问题,问题出在微软的HTML Help Workshop的hhc.exe不支持utf8.所以要解决这个问题,需要做两个额外的步骤: 1.将html/index.hhp中的Language=0x409 English (United States)换成Language= ...
分类:
其他好文 时间:
2020-01-10 15:50:54
阅读次数:
94
自己保存一些偶尔用的到的Lambda表达式小技巧 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sys ...
分类:
其他好文 时间:
2020-01-10 00:40:56
阅读次数:
75
什么是 Local 为什么使用 Local 为什么使用自定义 Local,而不是 threading.local。这是由内核决定的 1. web 应用在启动之后,是一单线+协成程启动的话,会污染全局变量,无法区分, 2. 使用多线程+协成无法保证,派发请求的工作协程,无法保证同时工作时且分别位于多个 ...
分类:
其他好文 时间:
2020-01-06 19:38:33
阅读次数:
64
1、创建添加代码 2、实现前端页面 核心要素: 1、public IActionResult OnGet() { return Page(); } 返回当前的默认页面 2、if (!ModelState.IsValid) { return Page(); } 模型是否验证成果; <form meth ...
分类:
Web程序 时间:
2020-01-05 19:03:23
阅读次数:
100
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _6._5字符串的格式化 { class Pro ...
分类:
其他好文 时间:
2020-01-03 19:35:18
阅读次数:
87
参考:Max Degree of Parallelism最大并行度配置 结论: 与设置的线程数有关 有设置的并行度有关 测试如下: @@@code System.Threading.ThreadPool.SetMinThreads(20, 20); System.Threading.ThreadPo... ...
分类:
其他好文 时间:
2020-01-02 19:06:26
阅读次数:
180
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 专高四 { class 协变 { static ... ...
分类:
其他好文 时间:
2020-01-01 18:44:18
阅读次数:
67
介绍 在Python中,使用多线程multi threading可以『同时』执行多个任务,比如你需要一个线程来复制读取信息,另一个线程来解析。为什么这里的同时要加引号呢,这是由于Python中GIL,也就是全局锁,看似同时执行多个任务,实际上是分布执行的,只不过各自完成不同的任务会提高工作效率。如果 ...
分类:
编程语言 时间:
2019-12-30 21:18:16
阅读次数:
75
在上一篇文章 abp(net core)+easyui+efcore实现仓储管理系统——ABP WebAPI与EasyUI结合增删改查之五(三十一) 中我们实现了新增组织部门信息功能,不过还存在一些BUG。今天我们来继续完善组织部门信息新增功能,并进行测试。 ...