上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 69 下一页
摘要: Go toTools -> Options -> Debugger -> GeneralUncheck the optionEnable Just My Code (Managed Only)Uncheck the optionEnable. NET Framework source stepping(this is optional)Check the optionEnable source server supportUncheck the optionRequire source files to exactly match the original versionsy 阅读全文
posted @ 2014-02-01 15:50 zyip 阅读(334) 评论(0) 推荐(0)
摘要: A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS 阅读全文
posted @ 2014-01-28 11:13 zyip 阅读(120) 评论(0) 推荐(0)
摘要: static public bool SaveOrUpdate(T entity) where T: class { bool result = false; using (wechatEntities context = new wechatEntities()) { Type t = entity.GetType(); PropertyInfo[] properts = t.GetProperties(); Pro... 阅读全文
posted @ 2014-01-28 09:43 zyip 阅读(316) 评论(0) 推荐(0)
摘要: console.log('initialize'); try { throw "breakPoint"; } catch(err) {}when I debug the extjs, the ext loader usually make the debuging breakpoints lost. I use the previous code segment to interrupt the program where I want it stop. 阅读全文
posted @ 2014-01-27 21:06 zyip 阅读(292) 评论(0) 推荐(0)
摘要: [TestMethod] public void DynamicTest() { dynamic Customer = new ExpandoObject(); Customer.Name = "Lucy"; Customer.Age = 20; Customer.Female = true; var obj = new { name="zy", age="20" }; var t =obj.GetType().ToSt... 阅读全文
posted @ 2014-01-27 20:36 zyip 阅读(209) 评论(0) 推荐(0)
摘要: client:function save() { var obj = { "name": "zhaoyao", "age": 20, "gender": true, nationality: 'china' }; //jQuery('#form1').serializeObject().msg //JSON.stringify(jQuery('#form1').serializeObject()) $.ajax({ type: 'PUT',//POST 阅读全文
posted @ 2014-01-27 17:00 zyip 阅读(201) 评论(0) 推荐(0)
摘要: 1. await只能出现在async修饰的方法中2.async不能修饰main函数3.async修饰的方法,用普通方式调用时表现为异步执行,配合await时将变成同步执行4.The return type of an async method must be void, Task or Taskhttp://blogs.msdn.com/b/pfxteam/archive/2012/04/12/10293335.aspxhttp://msdn.microsoft.com/zh-cn/library/hh191443.aspx [TestMethod] public vo... 阅读全文
posted @ 2014-01-27 13:25 zyip 阅读(629) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/xuejie/archive/2012/12/14/2818452.html 阅读全文
posted @ 2014-01-24 11:25 zyip 阅读(181) 评论(0) 推荐(0)
摘要: [TestMethod] [HostType("ASP.NET")] [UrlToTest("http://localhost:25153/qq/a.aspx")] [AspNetDevelopmentServerHost(@"C:\Users\Public\Documents\ooooooo", "/")] public void Test1() { var url = HttpContext.Current.Request.Url; var root = Htt... 阅读全文
posted @ 2014-01-24 09:41 zyip 阅读(305) 评论(0) 推荐(0)
摘要: // Use ClassInitialize to run code before running the first test in the class[ClassInitialize()]public static void MyClassInitialize(TestContext testContext) { }// Use ClassCleanup to run code after all tests in a class have run[ClassCleanup()]public static void MyClassCleanup() { }// Use TestInitia 阅读全文
posted @ 2014-01-24 08:48 zyip 阅读(207) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 69 下一页