摘要:
publicabstractobject[]GetCustomAttributes(boolinherit);这是GetCustomAttributes方法的一个重载,参数为bool类型返回一个object数组,用以保存对象中的自定义属性(attribute)参数为true时包括子类中的自定义属性 阅读全文
摘要:
中文不知如何定义标题,所以干脆就直接贴出关键字,在 ASP.NTE 5 项目的 project.json 配置文件中,会有这样的定义:"frameworks": { "dnx451": { }, "dnxcore50": { }}frameworks 配置的是什么东西?dnx451 和 dnxc... 阅读全文
摘要:
在MVC中发送Email 可以使用WebMail ;使用起来十分简单。如下: WebMail.SmtpServer = ConfigurationHelper.GetValue("SmtpServer");//获取或设置要用于发送电子邮件的 SMTP 中继邮件服务器的名称。 W... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.IO;namespace Csharp{ class AESHelpe... 阅读全文