摘要: class Space : IEnumerable> { public T Filler { get { if (!ed) { ed = true; return (filler = Top.create()); } return fil... 阅读全文
posted @ 2016-11-20 20:58 大胡子毛绒老头 阅读(252) 评论(0) 推荐(0) 编辑
摘要: class Space : IEnumerable { public object Filler { get { return filler ?? (filler = Top.create()); } } public Space Upper { get; protected set; } public Sp... 阅读全文
posted @ 2016-11-20 20:33 大胡子毛绒老头 阅读(304) 评论(0) 推荐(0) 编辑
摘要: this.removeEventListener = function (obj, ename, func) { var store = obj[this.addEventListener.pre + ename]; if (!store) { return; } var i = store.indexOf(func); if (i < 0... 阅读全文
posted @ 2016-10-31 15:55 大胡子毛绒老头 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 主类: 迭代类: 阅读全文
posted @ 2016-05-21 23:01 大胡子毛绒老头 阅读(326) 评论(0) 推荐(0) 编辑
摘要: //以下是抽象类,主要是看着内部只有逻辑的代码出现了Keys这种很具体的类型,不爽。说不定会用作别的。using System.Collections.Generic; namespace KeyboardSynchronizer { public abstract class FuncQueue { public bool Adding { get; private ... 阅读全文
posted @ 2016-05-21 01:12 大胡子毛绒老头 阅读(292) 评论(0) 推荐(0) 编辑
摘要: declare @page int;declare @size int;set @page = 4;set @size = 4;declare @offset int;set @offset = (@page * @size - @page);/*offset*/select * from Prod... 阅读全文
posted @ 2016-01-03 21:40 大胡子毛绒老头 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Data.Entity; 4 using System.Linq; 5 6 namespace WebHub { 7 public abst... 阅读全文
posted @ 2015-12-22 11:47 大胡子毛绒老头 阅读(484) 评论(0) 推荐(0) 编辑
摘要: if exists (select * from sys.objects where name='func_all_related_levels') drop function func_all_related_levelsgocreate function func_all_related_... 阅读全文
posted @ 2015-12-14 15:11 大胡子毛绒老头 阅读(475) 评论(0) 推荐(0) 编辑
摘要: public abstract class LYEntityDbContext where DB : DbContext, new() where T : LYEntityDbContext { public void GenerateHashCod... 阅读全文
posted @ 2015-07-13 03:53 大胡子毛绒老头 阅读(826) 评论(1) 推荐(0) 编辑
摘要: using Newtonsoft.Json;using System;using System.IO;using System.Linq;using System.Reflection;using System.Text.RegularExpressions;using System.Web;usi... 阅读全文
posted @ 2015-05-17 22:01 大胡子毛绒老头 阅读(721) 评论(0) 推荐(0) 编辑