上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页
摘要: pom引用: <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>3.6</version> </dependency> <dependency> <groupId>com 阅读全文
posted @ 2021-01-25 15:40 0611163 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Java ZIP文件解压 备忘笔记 代码: private byte[] unZip(byte[] data) { byte[] bArr = null; try { ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStre 阅读全文
posted @ 2021-01-25 15:29 0611163 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Java ZIP文件解压 备忘笔记 pom引用: <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency> View Code 代码: pri 阅读全文
posted @ 2021-01-25 15:27 0611163 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 1.Leaflet.js 开发地图功能,技术上值得一提的是通过修改源码解决了地图纠偏问题 2.ASP.NET Web API 以前没有做过,自己新研究的技术,没有上.NET Core,公司用不到,是.NET Framework版的。我比较喜欢这项技术,因为程序写起来简单,用起来也简单,别的语言开发的 阅读全文
posted @ 2020-12-21 18:25 0611163 阅读(179) 评论(2) 推荐(1) 编辑
摘要: 使用Castle.Core.dll实现,核心代码是使用Castle.DynamicProxy.ProxyGenerator类的CreateInterfaceProxyWithoutTarget方法动态创建代理对象 NuGet上面Castle.Core的下载量1.78亿之多 一、重构前的项目代码 重构 阅读全文
posted @ 2020-12-18 13:37 0611163 阅读(530) 评论(7) 推荐(1) 编辑
摘要: 代码: public static Action<T, object> EmitSetter<T>(string propertyName) { var type = typeof(T); var dynamicMethod = new DynamicMethod("EmitCall", null, 阅读全文
posted @ 2020-11-04 00:10 0611163 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 同事写了这样一段代码: FactoryStartNew类: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SunCreate.Common.ComLib 阅读全文
posted @ 2020-10-31 14:39 0611163 阅读(1995) 评论(0) 推荐(0) 编辑
摘要: WPF通过WindowChrome实现Window无边框窗体阴影效果 代码: <Window x:Class="SunCreate.PACP.Client.UI.GIS.CameraDetailsWin" xmlns="http://schemas.microsoft.com/winfx/2006/ 阅读全文
posted @ 2020-09-18 15:58 0611163 阅读(2358) 评论(2) 推荐(0) 编辑
摘要: async await 异步下载 异步代码加锁 lock 异步缓存 FTP异步下载代码: /// <summary> /// 异步下载文件 /// </summary> /// <param name="ftpPath">ftp路径</param> /// <param name="ftpUserI 阅读全文
posted @ 2020-08-12 10:20 0611163 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 父页面代码: <!DOCTYPE html> <html> <head> <title>选择位置demo</title> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name 阅读全文
posted @ 2020-08-05 20:10 0611163 阅读(250) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页