摘要: 在阅读vue.js 代码时,发现有这么一段代码,类似于三元运算符 ——<condition1>?<value1>:<value2>,但是这段代码里有两个冒号 : ,这就很令人费解了。 搜索MDN得知这是 条件运算符中的条件链。https://developer.mozilla.org/zh-CN/d 阅读全文
posted @ 2021-06-05 23:21 超难微猫 阅读(62) 评论(0) 推荐(0) 编辑
摘要: Repeater <script language="C#" runat="server"> protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ArrayList values = new ArrayL 阅读全文
posted @ 2020-12-23 22:38 超难微猫 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 查找数量大于一的 select ManifestId from ShandongSolid group by ManifestId having count(ManifestId)>1 阅读全文
posted @ 2020-12-22 09:18 超难微猫 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 英文:Open-Closed Principle 参考/翻译: https://www.dotnetcurry.com/software-gardening/1176/solid-open-closed-principle 把软件开发比作建筑,我们可以看出软件是坚固的,而且很难改变。相反,我们应该把 阅读全文
posted @ 2020-12-19 22:46 超难微猫 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 翻译、参考:https://www.dotnetcurry.com/software-gardening/1148/solid-single-responsibility-principle 在用面向对象编程很多年后,我发现很多程序员总是违反这个原则。 是的,我们写类和方法,企图以面向过程的方式将逻 阅读全文
posted @ 2020-12-19 13:02 超难微猫 阅读(164) 评论(0) 推荐(0) 编辑
摘要: .net core 依赖注入 是一种设计模式 ,在类和其依赖项之间实现控制反转。 .net core 学习路线 https://github.com/MoienTajik/AspNetCore-Developer-Roadmap/blob/master/ReadMe.zh-Hans.md HTTP和 阅读全文
posted @ 2020-12-18 14:13 超难微猫 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 区别 2020-12-24 asp.net 2020年12月23日 DataBinder.eval sql charIndex export 2020年12月7日 https://developer.mozilla.org/en-US/docs/web/javascript/reference/st 阅读全文
posted @ 2020-12-02 10:40 超难微猫 阅读(75) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Linq02_CollectionWithLINQ { class Program { static voi 阅读全文
posted @ 2020-12-01 21:52 超难微猫 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 官方文档:https://docs.microsoft.com/zh-cn/dotnet/standard/events/ 事件 class Program { public static void Main(string[] args) { Counter c = new Counter(new 阅读全文
posted @ 2020-11-20 10:10 超难微猫 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 参考: http://blog.leanote.com/post/zhangyue/%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8%E7%9A%84%E5%88%86%E9%A1%B5%E6%9F%A5%E8%AF%A2 源码:https://github.com/Xiew 阅读全文
posted @ 2020-11-17 10:53 超难微猫 阅读(306) 评论(0) 推荐(0) 编辑