• 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);
            }
        }
  • 相关阅读:
    display:inline-block 什么时候不会显示间隙?
    js数组算法题01
    redux中的reducer为什么必须(最好)是纯函数
    如何实现 token 加密
    已知如下代码,如何修改才能让图片宽度为 300px ?注意下面代码不可修改。
    分析比较 opacity: 0、visibility: hidden、display: none 优劣和适用场景
    Vue 的响应式原理中 Object.defineProperty 有什么缺陷?
    JAVA课程实验报告 实验二 Java面向对象程序设计
    Java课程实验报告 实验一 Java开发环境的熟悉
    [题解] Luogu P5641 【CSGRound2】开拓者的卓识
  • 原文地址:https://www.cnblogs.com/bitzhuwei/p/test_for_plugins.html
Copyright © 2020-2023  润新知