zoukankan      html  css  js  c++  java
  • test for windows live writer plugins

    image

    0. Code Snippet

       1: internal struct TriTuple
       2: {
       3:     public double X;
       4:     public double Y;
       5:     public double Z;
       6:     public TriTuple(double x, double y, double z)
       7:     {
       8:         // TODO: Complete member initialization
       9:         this.X = x;
      10:         this.Y = y;
      11:         this.Z = z;
      12:     }
      13:  
      14:     public override string ToString()
      15:     {
      16:         return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
      17:     }
      18: }

    1. Insert Code

       1:      internal struct TriTuple
       2:      {
       3:          public double X;
       4:          public double Y;
       5:          public double Z;
       6:          public TriTuple(double x, double y, double z)
       7:          {
       8:              // TODO: Complete member initialization
       9:              this.X = x;
      10:              this.Y = y;
      11:              this.Z = z;
      12:          }
      13:   
      14:          public override string ToString()
      15:          {
      16:              return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
      17:          }
      18:      }

    2. Picasa

    Picasa Content

    3. Polaroid Picture…

    4. Source Code

      1:     internal struct TriTuple
    
      2:     {
    
      3:         public double X;
    
      4:         public double Y;
    
      5:         public double Z;
    
      6:         public TriTuple(double x, double y, double z)
    
      7:         {
    
      8:             // TODO: Complete member initialization
    
      9:             this.X = x;
    
     10:             this.Y = y;
    
     11:             this.Z = z;
    
     12:         }
    
     13: 
    
     14:         public override string ToString()
    
     15:         {
    
     16:             return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
    
     17:         }
    
     18:     }
    
     19: 

    5. VSPaste

    internal struct TriTuple
    {
        public double X;
        public double Y;
        public double Z;
        public TriTuple(double x, double y, double z)
        {
            // TODO: Complete member initialization
            this.X = x;
            this.Y = y;
            this.Z = z;
        }
    
        public override string ToString()
        {
            return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
        }
    }
    

    6. 插件代码块

    Trituple

    7. 插入代码

    internal struct TriTuple
        {
            public double X;
            public double Y;
            public double Z;
            public TriTuple(double x, double y, double z)
            {
                // TODO: Complete member initialization
                this.X = x;
                this.Y = y;
                this.Z = z;
            }
    
            public override string ToString()
            {
                return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
            }
        }
  • 相关阅读:
    [原创]ExtAspNet秘密花园(二) — 一切从头开始
    使用领域定义建模语言来提高生产力
    报表控件团队成立了!!
    常见的程序语言分类的区别(简要说明)
    怎样做一名“专业”的程序员?
    推荐一个计数器网站
    在c中嵌入sql操作PostgreSQL
    让Visual C++ 2005 Express Edition也可以开发windows应用程序
    使用PowerDesigner进行代码生成
    sdmagazine与Dr. Dobb's Journal合并了?
  • 原文地址:https://www.cnblogs.com/bitzhuwei/p/test_for_plugins.html
Copyright © 2011-2022 走看看