zoukankan      html  css  js  c++  java
  • C# 模板类、接口

    C#模板

    C#模板类
    C#模板接口
    扩展插件

    C#模板类

    路径C:Program Files (x86)Microsoft Visual Studio2019ProfessionalCommon7IDEItemTemplatesCSharpCode2052

    /************************************************
    *CLR Version: $clrversion$
    *Author		: Eddie Xu
    *Create Time: $time$
    *MachineName: $machinename$
    *Description:
    *
    *Update History:
    *
    ***********************************************/
    
    #region Using
    using System;
    using System.Collections.Generic;
    $if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
    $endif$using System.Text;
    $if$ ($targetframeworkversion$ >= 4.5)using System.Threading.Tasks;
    $endif$
    #endregion
    
    namespace $rootnamespace$
    {
        /// <summary>
        /// 
        /// </summary>
        public class $safeitemrootname$
        {
    		#region Field(字段)
    		
    		#endregion Field(字段)
    		
    		#region Property(属性)
    		
    		#endregion Property(属性)
    		
    		#region Constructor(构造函数)
    		public $safeitemrootname$()
    		{}
    		#endregion Constructor(构造函数)
    		
    		#region Publish Method (公共方法)
    		
    		#endregion Publish Method (公共方法)
    		
    		#region Private Method(私有方法)
    		
    		#endregion Private Method(私有方法)
        }
    }
    

    C#模板接口

    /************************************************
    *CLR Version: $clrversion$
    *Author		: Eddie Xu
    *Create Time: $time$
    *MachineName: $machinename$
    *Description:
    *
    *Update History:
    *
    ***********************************************/
    
    #region Using
    using System;
    using System.Collections.Generic;
    $if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
    $endif$using System.Text;
    $if$ ($targetframeworkversion$ >= 4.5)using System.Threading.Tasks;
    $endif$
    #endregion
    
    namespace $rootnamespace$
    {
        /// <summary>
        /// 
        /// </summary>
        public interface $safeitemrootname$
        {
    		#region Property(属性)
    		
    		#endregion Property(属性)
    		
    		#region Publish Method (公共方法)
    		
    		#endregion Publish Method (公共方法)
        }
    }
    

    扩展插件

    CodeMaid
    GhostDoc

  • 相关阅读:
    Pimlico:个人信息治理套件
    GChemPaint-绘制化学分子布局
    gLabels:名片方案软件
    设置Tomcat在Linux利用体系中自启动办法
    Linux应用系统下Xmanager器材登录设置
    KGmailNotifier-Gmail 邮件关照轨范
    Xfce 4.4.1 发布
    Mozilla Thunderbird 2.0.0.0 正式版颁布
    Gaim 已更名为 Pidgin
    Wine 0.9.35
  • 原文地址:https://www.cnblogs.com/Nine4Cool/p/13899652.html
Copyright © 2011-2022 走看看