摘要: 在领域事件中,有时为了数据的一致性,需要先将事件持久化,然后在读取数据时还原并执行事件保证数据一致。 持久化委托时,我们需要持久化委托的类型、方法名称和方法参数类型。 如申明一个委托: 定义一个事件: 获取事件订阅委托列表,并获取委托的类型、方法名称和方法参数类型 可以将 eventType ,ev 阅读全文
posted @ 2017-05-24 18:37 $("#阿飞") 阅读(451) 评论(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 $("#阿飞") 阅读(475) 评论(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 $("#阿飞") 阅读(405) 评论(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 $("#阿飞") 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 由于公司手机App要加入一个附件查看功能,需要查看PDF文件,在网上找了许多第三方工具,最后选择了MuPDF。 更多第三方工具可以查看大神总结的:http://www.cnblogs.com/pokeGame/archive/2011/06/02/2068575.html MuPDF介绍: Andr 阅读全文
posted @ 2017-01-03 17:41 $("#阿飞") 阅读(489) 评论(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 $("#阿飞") 阅读(158) 评论(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 $("#阿飞") 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 【&】位与运算符: 按位与运算符"&"是双目运算符。 其功能是参与运算的两数各对应的二进位相与。只有对应的两个二进位均为1时,结果位才为1 ,否则为0。参与运算的数以补码方式出现。 如: 00001001 & 00000101 = 00000001 【|】位或运算符: 按位或运算符“|”是双目运算符 阅读全文
posted @ 2016-10-25 12:41 $("#阿飞") 阅读(1701) 评论(0) 推荐(1) 编辑
摘要: 1 /** 2 依赖JQuery 3 4 5 **/ 6 7 (function () { 8 var Table = window.Table = function (rowCount, columnCount, width, height, rowHeight) { 9 this.rowCoun 阅读全文
posted @ 2016-10-21 09:31 $("#阿飞") 阅读(245) 评论(0) 推荐(0) 编辑