zoukankan      html  css  js  c++  java
  • Visual Studio 内置快速生产代码简写集合

    工作之余,整理了一下,Visual Studio 里面的快速生产代码缩写集合,这个拿出来分享想一下,希望对您有所帮助。

     文件下载地址:VS内置生产代码缩写集合文档.rar

    首字母 简写 生成代码
    a attachedProperty public static readonly ??? propertyNameProperty = ???.RegisterAttached(
        "propertyName",
        typeof(propertyType),
        typeof(HomeController),
        new PropertyMetadata(default(propertyType)));

    public static void SetpropertyName(DependencyObject element, propertyType value)
    {
        element.SetValue(propertyNameProperty, value);
    }

    public static propertyType GetpropertyName(DependencyObject element)
    {
        return (propertyType)element.GetValue(propertyNameProperty);
    }
    Attribute  [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
     private sealed class MyAttribute : Attribute
     {
         // See the attribute guidelines at
         //  http://go.microsoft.com/fwlink/?LinkId=85236
         private readonly string positionalString;

         // This is a positional argument
         public MyAttribute(string positionalString)
         {
             this.positionalString = positionalString;

             // TODO: Implement code here
             throw new NotImplementedException();
         }

         public string PositionalString { get; private set; }

         // This is a named argument
         public int NamedInt { get; set; }
     }
         
    c checked  
    class   
    ctor  public A1()
    {
    }
    ctx  
    cw Console.WriteLine();
         
    d do do{

    }while(ValidateRequest);
         
    e ear TYPE[] types = new TYPE[] { };
       
    enum enum MyEnum
    {
    }
    equals  
       
    Exception  
       
    else  
         
    f for for (int i = 0; i < UPPER; i++)
    {

    }
       
    forr for (int i = length - 1; i >= 0; i--)
    {

    }
       
    foreach foreach (var VARIABLE in COLLECTION)
    {

    }
       
    from from VAR in ViewEngineCollection
    {

    }
         
    h hal Html.ActionLink("TEXT", "ACTION", "Account")
         
    i    
    if if (ValidateRequest)
    {
    }
       
    invoke EventHandler temp = MyEvent;
    if (temp != null)
    {
        temp();
    }
       
    ital for (int i = 0; i < arrayList.Count; i++)
    {
          object array = (object)arrayList[i];
    }
       
    itar for (int i = 0; i < array.Length; i++)
    {
        var a = array[i];
    }
       
    itdg foreach (var i in ViewData)
    {
        var key = i.Key;
        var value = i.Value;
    }
       
    itdic foreach (DictionaryEntry dictionaryEntry in dictionary)
    {   
         object key = (object)dictionaryEntry.Key;
         object value = (object)dictionaryEntry.Value;
    }
       
    itli for (int i = 0; i < ViewEngineCollection.Count; i++)
    {
         object key = (object)dictionaryEntry.Key;
         object value = (object)dictionaryEntry.Value;
    }
       
    indexer  public object this[int index]
     {
                get
                {
                     /* return the specified index here */
                }
                set
                {
                    /* set the specified index to value here */
                }
    }
       
    interface interface Iinterface
    {
    }
       
    iterator public System.Collections.Generic.IEnumerator<ElementType> GetEnumerator()
    {
           throw new NotImplementedException();
           yield return default(ElementType);
    }
       
    iterindex  public class MyViewIterator
     {
         private readonly MyViewIterator outer;

         internal MyViewIterator(MyViewIterator outer)
         {
             this.outer = outer;
         }

         // TODO: provide an appropriate implementation here
         public int Length
         {
             get
             {
                 return 1;
             }
         }

         public ElementType this[int index]
         {
             get
             {
                 //
                 // TODO: implement indexer here
                 //
                 // you have full access to MyViewIterator privates
                 //
                 throw
                 new NotImplementedException();
                 return default(ElementType);
             }
         }

         public System.Collections.Generic.IEnumerator<ElementType> GetEnumerator()
         {
             for (int i = 0; i < this.Length; i++)
             {
                 yield return this[i];
             }
         }
     }       
         
    l lock lock (ViewEngineCollection)
    {

    }
         
    m mbox  System.Windows.Forms.MessageBox.Show("Test");
         
    n nguid A509913F-295B-480F-A022-854A81045C6E
         
    o out  Console.Out.WriteLine("");
       
    outv Console.Out.WriteLine("ViewEngineCollection = {0}", ViewEngineCollection);
         
    p pci  public const int 
       
    pcs  public const string 
       
    prop public TYPE Type { get; set; }
       
    propg  public int I { get; private set; }
       
    psr  public static readonly 
       
    psvm   public static void Main(string[] args){}
         
    r rta RedirectToAction("ACTION", "Account")
       
    ritar for (int i = array.Length - 1; i >= 0; i--)
    {
         var a = array[i];
    }
         
    s sfc var type = ViewEngineCollection as TYPE;

    if (type != null)
    {
       
    }
       
    switch switch (@enum)
    {
           
    }
       
    svm static void Main(string[] args)
    {
         
    }
       
    sim static int Main(string[] args)
    {
        
         return 0;
    }
       
    struct struct MyStruct
    {
         
    }
         
    t thr throw new 
       
    toar (object[])arrayList.ToArray(typeof(object))
       
    try try
    {

    }
    catch (Exception)
    {
       
        throw;
    }
       
    tryf try
    {

    }
    finally
    {
       
    }
         
    u ua Url.Action("ACTION", "Account")
       
    unchecked unchecked
    {
       
    }
       
    unsafe unsafe
    {
       
    }
       
    using using (this)
    {
        
    }
         
    w while while (true)
    {
        
    }
         
     
       
  • 相关阅读:
    实例属性 类属性 实例域 类域
    研究数据集
    static 静态域 类域 静态方法 工厂方法 he use of the static keyword to create fields and methods that belong to the class, rather than to an instance of the class 非访问修饰符
    accessor mothod mutator mothod 更改器方法 访问器方法 类的方法可以访问类的任何一个对象的私有域!
    上钻 下钻 切片 转轴 降采样
    识别会话
    Performance Tuning Using Linux Process Management Commands
    Secure Hash Algorithm 3
    grouped differently across partitions
    spark 划分stage Wide vs Narrow Dependencies 窄依赖 宽依赖 解析 作业 job stage 阶段 RDD有向无环图拆分 任务 Task 网络传输和计算开销 任务集 taskset
  • 原文地址:https://www.cnblogs.com/kewolf/p/4588360.html
Copyright © 2011-2022 走看看