the important thing is not to stop questioning

导航

 
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 78 下一页

2015年12月25日

摘要: 微软企业库,提供了一套日志,缓存等功能的库。可以通过NuGet安装。 阅读全文
posted @ 2015-12-25 10:50 qook 阅读(160) 评论(0) 推荐(0)
 

2015年12月22日

摘要: 在 C# 中可以对字符串使用 PadLeft 和 PadRight 进行轻松地补位。 PadLeft(int totalWidth, char paddingChar) //在字符串左边用 paddingChar 补足 totalWidth 长度 PadLeft(int totalWidth, ch... 阅读全文
posted @ 2015-12-22 17:01 qook 阅读(163) 评论(0) 推荐(0)
 
摘要: ProcessProcessThread:Process and ProcessThread objects have a ProcessorAffinity property of IntPtr type that can be directly manipulated to read/chang... 阅读全文
posted @ 2015-12-22 10:30 qook 阅读(196) 评论(0) 推荐(0)
 
摘要: Stopwatch 实例可以测量一个时间间隔的运行时间,也可以测量多个时间间隔的总运行时间。在典型的 Stopwatch 方案中,先调用 Start 方法,然后调用 Stop 方法,最后使用 Elapsed 属性检查运行时间。 阅读全文
posted @ 2015-12-22 09:58 qook 阅读(158) 评论(0) 推荐(0)
 

2015年12月21日

该文被密码保护。 阅读全文
posted @ 2015-12-21 17:33 qook 阅读(2) 评论(0) 推荐(0)
 

2015年12月19日

该文被密码保护。 阅读全文
posted @ 2015-12-19 11:53 qook 阅读(0) 评论(0) 推荐(0)
 

2015年12月16日

摘要: http://www.thinkcmf.com/font/icons/第一次使用 Font Awesome 发现相当的爽呀!它的图标很全,能够帮你节约时间去找图片。下面就来一起学习吧:1: 去官方网站下载解压http://fontawesome.io/2: 解压后拷贝到你的项目中再引入到你的文件里面... 阅读全文
posted @ 2015-12-16 18:57 qook 阅读(819) 评论(0) 推荐(0)
 

2015年12月15日

摘要: 策略模式(strategy)模板方法模式(Template Method)命令模式(Command)访问者模式(Visitor)中介者模式(Mediator) 阅读全文
posted @ 2015-12-15 14:09 qook 阅读(219) 评论(0) 推荐(0)
 

2015年12月13日

摘要: 一句话概括了两个模式的区别。 使用代理模式,代理和真实对象之间的的关系通常在编译时就已经确定了,而装饰者能够在运行时递归地被构造。 阅读全文
posted @ 2015-12-13 21:23 qook 阅读(124) 评论(0) 推荐(0)
 
摘要: 应用场景:当我们需要将接口A转换成B时,需要一个AB接口来实现这个功能。AB包含A,又实现B。 阅读全文
posted @ 2015-12-13 21:14 qook 阅读(130) 评论(0) 推荐(0)
 
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 78 下一页