你的位置:首页 > 软件开发 > ASP.net > VS2013自动注释插件

VS2013自动注释插件

发布时间:2015-09-07 22:00:06
在程序编写的时候,你是否见过这种写法?整个项目每个cs文件头部都包含一个,版权,版本等信息的注释头?类似这个类文件: /************************************************************************* === ...

在程序编写的时候,你是否见过这种写法?整个项目每个cs文件头部都包含一个,版权,版本等信息的注释头?

类似这个类文件:

 

VS2013自动注释插件VS2013自动注释插件
/*************************************************************************  ========================微信企业号开发本地调试========================  作者:GarsonZhang  QQ:382237285   小广告:【get='_blank'>winform快速开发框架,请关注GZFramwork,关注作者GarsonZhang】   感谢你使用本程序,将开源进行到底  如果你有新需求,请联系我,增加对你的支持 ************************************************************************/using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace QYWXLocalDebug{  public class ConvertEx  {    public static string ToString(object obj)    {//类型转换      string tmp = string.Empty;      try      {        tmp = obj.ToString();      }      catch      {        tmp = string.Empty;      }      return tmp;    }    public static int ToInt(object obj)    {      int tmp = 0;      try      {        tmp = Convert.ToInt32(obj);      }      catch      {        tmp = 0;      }      return tmp;    }    public static int ToInt(object obj, int ErrorValue)    {      int tmp = ErrorValue;      try      {        tmp = Convert.ToInt32(obj);      }      catch      {        tmp = ErrorValue;      }      return tmp;    }  }}

原标题:VS2013自动注释插件

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录