摘要:
1.工具类 public static class ListExtensions { /// <summary> /// 无序或有序的ListT获取所有匹配对象的方法 /// </summary> public static IEnumerable<T> GetAll<T>(this List<T> 阅读全文
posted @ 2019-10-25 19:00
jeff151013
阅读(1124)
评论(0)
推荐(0)
摘要:
1.工具类 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Infrastructure{ /// <su 阅读全文
posted @ 2019-10-25 18:56
jeff151013
阅读(1819)
评论(0)
推荐(0)
摘要:
1.工具类 public static class ImageControl { /// <summary> /// 生成缩略图 /// </summary> /// <param name="originalImagePath">源图路径(物理路径)</param> /// <param name 阅读全文
posted @ 2019-10-25 18:44
jeff151013
阅读(139)
评论(0)
推荐(0)
摘要:
1.工具类 /// <summary> /// 深复制扩展类,不需要T支持可序列化 /// </summary> /// <typeparam name="T"></typeparam> public class DeepCopyExtensions<T> { public static T Dee 阅读全文
posted @ 2019-10-25 18:36
jeff151013
阅读(375)
评论(0)
推荐(0)
摘要:
1.工具类 /// <summary> /// 深复制扩展类,需要T支持可序列化 /// </summary> public class DeepCopyExtensions<T> { /// <summary> /// 对象深复制方法 /// 不管是值类型的成员还是引用类型的成员,在对象副本中对任 阅读全文
posted @ 2019-10-25 18:32
jeff151013
阅读(398)
评论(0)
推荐(0)
摘要:
1.工具类 using System;using System.Globalization;namespace Infrastructure{ public static class DateTimeExtensions { /// <summary> /// 当前时间 /// </summary> 阅读全文
posted @ 2019-10-25 18:22
jeff151013
阅读(695)
评论(0)
推荐(0)
摘要:
1.工具类 using System.Collections.Generic;using Newtonsoft.Json;namespace Infrastructure{ public static class DataTransferExtensions { /// <summary> /// 阅读全文
posted @ 2019-10-25 18:03
jeff151013
阅读(500)
评论(0)
推荐(0)
摘要:
1.工具类 using System;using System.Data;using System.IO;using System.IO.Compression;using System.Runtime.Serialization.Formatters.Binary;using System.Xml 阅读全文
posted @ 2019-10-25 17:59
jeff151013
阅读(416)
评论(0)
推荐(0)
摘要:
1.功能类 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;namespace Infrastructure{ public static class Enumer 阅读全文
posted @ 2019-10-25 17:50
jeff151013
阅读(391)
评论(0)
推荐(0)
摘要:
1.功能类 using System;using System.Collections.Generic;using System.ComponentModel;using System.IO;using System.Linq;using System.Reflection;using System 阅读全文
posted @ 2019-10-25 17:46
jeff151013
阅读(252)
评论(0)
推荐(0)
摘要:
1.QueueHelper using System.Collections.Concurrent;using System.Runtime.CompilerServices;namespace WindowsFormsServer.Helper{ public static class Queue 阅读全文
posted @ 2019-10-25 17:34
jeff151013
阅读(929)
评论(0)
推荐(0)

浙公网安备 33010602011771号