上一页 1 ··· 179 180 181 182 183 184 185 186 187 ··· 401 下一页
摘要: DDD理论学习系列——案例及目录 UnitOfWork知多少 『设计模式』之小试牛刀 事件总线知多少(1) 阅读全文
posted @ 2020-05-14 16:30 ChuckLu 阅读(155) 评论(0) 推荐(0)
摘要: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019 MSBuild projects that use the standard build process (importin 阅读全文
posted @ 2020-05-13 14:20 ChuckLu 阅读(344) 评论(0) 推荐(0)
摘要: WaitAll vs WhenAll 回答1 Task.WaitAll blocks the current thread until everything has completed. Task.WhenAll returns a task which represents the action 阅读全文
posted @ 2020-05-12 16:51 ChuckLu 阅读(321) 评论(0) 推荐(0)
摘要: When does a C# Task actually start? Calling an async method returns a hot task, a task that has already been started. So there is no actual code neces 阅读全文
posted @ 2020-05-12 16:08 ChuckLu 阅读(183) 评论(0) 推荐(0)
摘要: What are 'closures' in .NET? I have an article on this very topic. (It has lots of examples.) In essence, a closure is a block of code which can be ex 阅读全文
posted @ 2020-05-12 14:46 ChuckLu 阅读(152) 评论(0) 推荐(0)
摘要: 经过测试发现,多线程操作都是安全的。甚至包括在遍历的时候,进行删除操作 https://github.com/ChuckTest/ConcurrentTest class Program { private static readonly ConcurrentDictionary<int, int> 阅读全文
posted @ 2020-05-11 19:15 ChuckLu 阅读(288) 评论(0) 推荐(0)
摘要: When Iterating Over ConcurrentDictionary and only reading, is ConcurrentDictionary locked? https://referencesource.microsoft.com/#mscorlib/system/Coll 阅读全文
posted @ 2020-05-11 14:11 ChuckLu 阅读(731) 评论(0) 推荐(0)
摘要: ArrayList.Synchronized Method Returns a list wrapper that is synchronized (thread safe). The following code example shows how to lock the collection u 阅读全文
posted @ 2020-05-11 11:28 ChuckLu 阅读(233) 评论(0) 推荐(0)
摘要: Programmatically add an application to Windows Firewall 回答1 Not sure if this is the best way, but running netsh should work: netsh firewall add allowe 阅读全文
posted @ 2020-05-10 14:18 ChuckLu 阅读(255) 评论(0) 推荐(0)
摘要: Three keys to brilliant time management Plan: Understand the purpose of your task and set yourself meaningful goals. Prioritise: Categorise tasks acco 阅读全文
posted @ 2020-05-08 18:44 ChuckLu 阅读(962) 评论(0) 推荐(0)
上一页 1 ··· 179 180 181 182 183 184 185 186 187 ··· 401 下一页