1 2 3 4 5 ··· 30 下一页
摘要: 中文版本介绍 **项目地址:https://github.com/JohnYang1210/PycomCAD ** PyComCAD介绍及开发方法 1.综述 ​ 提到Autocad在工业界的二次开发,VB或者Lisp可能作为常用的传统的编程语言。但是,Python语言简洁,优雅,学习门槛低,理应在A 阅读全文
posted @ 2021-02-27 18:32 JohnYang819 阅读(5224) 评论(1) 推荐(1)
摘要: public class TestABC { public int A = 0; public int B = 0; public static bool operator ==(TestABC a, TestABC b) { return true; } public static bool op 阅读全文
posted @ 2025-12-25 16:08 JohnYang819 阅读(4) 评论(0) 推荐(0)
摘要: <Grid x:Name="loadingMask" Background="#66000000" Visibility="Visible"> <Ellipse Width="40" Height="40" Stroke="White" StrokeThickness="4" StrokeDashA 阅读全文
posted @ 2025-12-24 11:04 JohnYang819 阅读(8) 评论(0) 推荐(0)
摘要: 步骤1: ssh-keygen -t ed25519 -C "你的github邮箱" 参数说明: -t ed25519 指定密钥类型(type)。ed25519 是一种现代的椭圆曲线签名算法(Curve25519 家族),优点:更短的密钥、更快、抗攻击性好、通常比同等安全强度的 RSA 更推荐。 备 阅读全文
posted @ 2025-12-23 23:28 JohnYang819 阅读(3) 评论(0) 推荐(0)
摘要: version:0.0.0.0 阅读全文
posted @ 2025-12-18 15:29 JohnYang819 阅读(3) 评论(0) 推荐(0)
摘要: 下面来逐行、深入讲解 DynamicMaxLengthAttribute 的真实工作机制,非常值得理解。 ✅ 整体作用(一句话) ABP 用 反射修改 MaxLengthAttribute 的私有字段 <Length>k__BackingField,从而动态设置最大长度。 ✅ 代码逐行深度解析 pu 阅读全文
posted @ 2025-11-20 19:53 JohnYang819 阅读(12) 评论(0) 推荐(0)
摘要: _currentUser = Substitute.For<ICurrentUser>(); 这是 NSubstitute(一个 .NET 单元测试 mock 框架)中的标准用法,用来“创建一个假的 ICurrentUser 实例”。 下面详细解释它的逻辑。 ✅ 到底发生了什么? Substitut 阅读全文
posted @ 2025-11-15 22:35 JohnYang819 阅读(13) 评论(0) 推荐(0)
摘要: ServiceCollection 和 ServiceProvider 是 .NET 依赖注入系统中的两个核心概念,但它们的职责完全不同。理解这两个概念对看懂 ASP.NET Core / ABP 框架的 DI 机制非常重要。 下面用非常清晰、分层方式给你解释: ✔️ 一句话解释 ServiceCo 阅读全文
posted @ 2025-11-15 22:22 JohnYang819 阅读(27) 评论(0) 推荐(0)
摘要: 来给你几个层次递进的 LINQ Join 示例,从最基础的单表连接到多表、对象导航、分组连接全部覆盖。 以下示例均基于 C# + LINQ to Objects(适用于 EF Core / ABP 的仓储查询场景)。 🌱 一、基本示例:两表连接(内连接 Inner Join) 假设你有两个列表: 阅读全文
posted @ 2025-10-07 17:25 JohnYang819 阅读(23) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tas 阅读全文
posted @ 2025-09-21 23:12 JohnYang819 阅读(14) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/1599580/202509/1599580-20250921143350368-1877215917.png) ![image](https://img2024.cnblogs.com/blog/1599580/202509/1599580-20250921143507348-808106558.png) 阅读全文
posted @ 2025-09-21 14:35 JohnYang819 阅读(13) 评论(0) 推荐(0)
1 2 3 4 5 ··· 30 下一页