上一页 1 2 3 4 5 6 7 8 ··· 120 下一页
摘要: /// <summary> /// /// </summary> public static class StringExtentions { /// <summary> /// 转换为MD5加密后的字符串(默认加密为32位) /// </summary> /// <param name="str" 阅读全文
posted @ 2022-12-07 21:17 跟着阿笨一起玩.NET 阅读(78) 评论(0) 推荐(0)
摘要: /// <summary> /// /// </summary> public static class IEnumerableExtentions { /// <summary> /// 复制序列中的数据 /// </summary> /// <typeparam name="T">泛型</typ 阅读全文
posted @ 2022-12-07 21:16 跟着阿笨一起玩.NET 阅读(105) 评论(0) 推荐(0)
摘要: 推荐设置为,alt+e。e代表的就是erveryting 很多人不知道Everything怎么设置显示主界面快捷键?今日为你们带来的文章是Everything设置显示主界面快捷键的方法,还有不清楚小伙伴和小编一起去学习一下吧。 第一步:打开Everything软件,点击菜单栏的“工具>选项”。 第二 阅读全文
posted @ 2022-09-17 17:57 跟着阿笨一起玩.NET 阅读(6082) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-17 17:23 跟着阿笨一起玩.NET 阅读(207) 评论(0) 推荐(0)
摘要: /// <summary> /// 文件压缩类 /// </summary> public class ZipHelper { /// <summary> /// 单文件压缩成ZIP /// </summary> /// <param name="fileSource">源文件路径</param> 阅读全文
posted @ 2022-08-27 23:56 跟着阿笨一起玩.NET 阅读(519) 评论(0) 推荐(0)
摘要: public static class RemoveForeignKeyExetension { public static ModelBuilder RemoveForeignKeys(this ModelBuilder modelBuilder) { var entityTypes = mode 阅读全文
posted @ 2022-07-31 16:07 跟着阿笨一起玩.NET 阅读(235) 评论(0) 推荐(0)
摘要: using System.ComponentModel; namespace ABenNetCore.FriendException.Helper { public class EnumItem { public string Code { get; set; } public int Value 阅读全文
posted @ 2022-07-29 21:58 跟着阿笨一起玩.NET 阅读(1313) 评论(0) 推荐(1)
摘要: using StackExchange.Redis; using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace ABenNetCore.Redis.Xunit 阅读全文
posted @ 2022-07-17 22:12 跟着阿笨一起玩.NET 阅读(208) 评论(0) 推荐(1)
摘要: using Microsoft.Extensions.DependencyModel; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.R 阅读全文
posted @ 2022-07-17 14:52 跟着阿笨一起玩.NET 阅读(152) 评论(1) 推荐(0)
摘要: 使用CancellationTokenSource取消任务 CancellationTokenSource Source = new CancellationTokenSource(); Task T = Task.Factory.StartNew(() => { //如果Token被取消 whil 阅读全文
posted @ 2022-07-10 11:57 跟着阿笨一起玩.NET 阅读(485) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 120 下一页