摘要: 使用crypto-js在浏览器上对数据加密签名 重要知识点: MD5加密 完整代码 <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" type="text/jav 阅读全文
posted @ 2018-06-27 14:23 $("#阿飞") 阅读(3172) 评论(0) 推荐(0)
摘要: 多个DbContext修改同一张表经测试是可行的。 UserStore和DepartmentStore都可以向SysLog表写入数据 用多个线程同时通过UserStore和DepartmentStore想SysLog表写入数据,数据能正确写入表中 实体代码: public class Department { public String DeptId { get; set... 阅读全文
posted @ 2018-03-15 16:42 $("#阿飞") 阅读(190) 评论(0) 推荐(0)
摘要: 原文地址 在Xamarin.Forms控件中实现底层多点触控跟踪。 一个effect可以定义和调用一个事件,在底层本地视图中发出信号的变化。这篇文章演示如何实现底层多点触控跟踪,以及如何生成信号触摸活动的事件。 本文描述的Effect提供了对底层触摸事件的访问。这些低级事件在现有的GestureRecognizer类中是不可用的,但是它们对于某些类型的应用程序来说是非常重要的。例如,手指画画应... 阅读全文
posted @ 2018-01-19 14:52 $("#阿飞") 阅读(1589) 评论(0) 推荐(0)
摘要: 在领域事件中,有时为了数据的一致性,需要先将事件持久化,然后在读取数据时还原并执行事件保证数据一致。 持久化委托时,我们需要持久化委托的类型、方法名称和方法参数类型。 如申明一个委托: 定义一个事件: 获取事件订阅委托列表,并获取委托的类型、方法名称和方法参数类型 可以将 eventType ,ev 阅读全文
posted @ 2017-05-24 18:37 $("#阿飞") 阅读(472) 评论(0) 推荐(0)
摘要: Introduction 简介In previous chapters, you saw some of the reasons to use dependency injection and learned how dependency injection differs from other approaches to decoupling your application. In this ... 阅读全文
posted @ 2017-03-21 12:32 $("#阿飞") 阅读(526) 评论(0) 推荐(0)
摘要: Introduction 介绍Chapter 1 outlines how you can address some of the most common requirements in enterprise applications by adopting a loosely coupled design to minimize the dependencies between the diff... 阅读全文
posted @ 2017-03-21 12:30 $("#阿飞") 阅读(420) 评论(0) 推荐(0)
摘要: Before you learn about dependency injection and Unity, you need to understand why you should use them. And in order to understand why you should use them, you should understand what types of problems ... 阅读全文
posted @ 2017-03-21 12:29 $("#阿飞") 阅读(440) 评论(0) 推荐(0)
摘要: 由于公司手机App要加入一个附件查看功能,需要查看PDF文件,在网上找了许多第三方工具,最后选择了MuPDF。 更多第三方工具可以查看大神总结的:http://www.cnblogs.com/pokeGame/archive/2011/06/02/2068575.html MuPDF介绍: Andr 阅读全文
posted @ 2017-01-03 17:41 $("#阿飞") 阅读(555) 评论(0) 推荐(0)
摘要: 转至:http://www.cnblogs.com/shangdahao/archive/2013/04/17/3025429.html Windows下的开发环境需要安装以下软件: Java JDK JDK是整个java开发的核心,它包含了JAVA的运行环境,JAVA工具和JAVA基础的类库。 A 阅读全文
posted @ 2016-12-08 15:55 $("#阿飞") 阅读(167) 评论(0) 推荐(0)
摘要: 代码如下: 1 /// <summary> 2 /// 坐标(结构类型) 3 /// </summary> 4 public struct Coordinate 5 { 6 public int x; 7 public int y; 8 9 public Coordinate(int x, int 阅读全文
posted @ 2016-10-29 08:36 $("#阿飞") 阅读(445) 评论(0) 推荐(0)