第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading...
分类:
其他好文 时间:
2014-06-18 16:58:56
阅读次数:
1005
sublime text 2是一款非常优秀的跨平台文本及源代码编辑器,本人非常喜欢,但是不支持GB2312和GBK编码在某些时候比较麻烦。可以通过向sublime text 中添加编码类型转换包(比如“ConvertToUTF8")来解决这一问题。具体方法如下:首先声明:这一方法前提是sublime...
分类:
其他好文 时间:
2014-06-18 16:53:37
阅读次数:
276
我在测试的过程中遇到一个这样的问题,我无法通过CssSelector找到iFrame下边的html:rrrrrrrt后来我发现只能找到iFrame这里,再往后就找不到了。我用过sendKeys to可以将Text发送给body,但是想通过Assert去验证iFrame的text,无法做到。解决办法:...
分类:
Web程序 时间:
2014-06-18 16:26:44
阅读次数:
707
支持有向与无向图DijistraSeach.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Dijis...
分类:
其他好文 时间:
2014-06-18 15:21:20
阅读次数:
270
namespace System.Web.Mvc.Html{ public static class helperext { public static HtmlString mylabel(this HtmlHelper helper, string text) ...
分类:
Web程序 时间:
2014-06-18 14:40:25
阅读次数:
199
当在post发送一个数据,返回来得如下错误的时候:Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start...
分类:
Web程序 时间:
2014-06-18 14:38:36
阅读次数:
262
.page_nav{clear:both; padding:15px 0; color:#666; font:normal 12px/24px Arial; text-align:center;}.page_nav a{display:inline-block; height:22px; margi...
分类:
Web程序 时间:
2014-06-18 13:54:39
阅读次数:
262
importjava.math.BigDecimal;importjava.text.DecimalFormat;importjava.text.NumberFormat;publicclassformat{doublef=111231.5585;publicvoidm1(){BigDecimalb...
分类:
编程语言 时间:
2014-06-17 14:13:33
阅读次数:
213
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace Demo{/// /// 有关...
分类:
其他好文 时间:
2014-06-17 13:50:08
阅读次数:
709
- (void)viewDidLoad{ [super viewDidLoad]; #ifdef DEBUG // 设置测试使用的用户名和密码 self.nameText.text = @“xiaoshuai"; self.pwdText.text = @"123"; [self text...
分类:
移动开发 时间:
2014-06-17 13:49:29
阅读次数:
252