摘要:
https://github.com/MSOpenTech/redis/releases下载 Redis伴侣Redis Desktop Manager:http://redisdesktop.com/download http://www.cnblogs.com/wuhuacong/p/512334 阅读全文
摘要:
[Serializable] public class OrderHead { public String OrderId { get; set; } public String OrderName { get; set; } } [Serializable] public class OrderT 阅读全文
摘要:
public class SetterWrapper<TTarget, TValue> { private Action<TTarget, TValue> _setter; public SetterWrapper(PropertyInfo propInfo) { if (propInfo == n 阅读全文
摘要:
/// <summary> /// 数据库表名 /// </summary> [AttributeUsage(AttributeTargets.Class)] public class DBTableNameAttribute : Attribute { public string Name { g 阅读全文
摘要:
<input type="file" id="fileName" name ="fileName" onchange="GetFileSize(this)" /><script type="text/javascript"> function GetFileSize(file) { alert(fi 阅读全文
摘要:
public class Md5 { public static String MD5Encrypt(String str) { MD5 md5 = new MD5CryptoServiceProvider(); byte[] result = md5.ComputeHash(System.Text 阅读全文
摘要:
public static class HttpHelper { const String POST = "Post"; const String ACCEPT= "text/html, application/xhtml+xml, */*"; const String CONTENT_TYPE=" 阅读全文
摘要:
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.Caching; 阅读全文
摘要:
public static class CustomerConfigHelper { public static object _lockObject = new object(); private static string GetCustomConfigValue(string key) { s 阅读全文
摘要:
1.建立测试单元项目 2.引用XUnit.dll或者在Nuget里安装XUnit 3.安装Nuget->xUnit.net[Runner: Visual Studio] 4.打开 测试->窗口->测试资源管理器 5.编写测试代码 public class TestClass { [Fact] pub 阅读全文