示例#1
0
        public ValType2(bool repeat, int count, int v1, int v2, int v3)
        {
            this.v1 = new ValType1[count];

            if (repeat)
            {
                ValType1 vt = new ValType1(v1, v2, v3);
                for (int i = 0; i < count; i++)
                {
                    this.v1[i] = vt;
                }
            }
            else
            {
                for (int i = 0; i < count; i++)
                {
                    this.v1[i] = new ValType1(v1, v2, v3);
                }
            }
        }
        public ValType2(bool repeat, int count, int v1, int v2, int v3) {
            this.v1 = new ValType1[count];

            if (repeat) {
                ValType1 vt = new ValType1(v1, v2, v3);
                for (int i = 0; i < count; i++) {
                    this.v1[i] = vt;
                }
            } else {
                for (int i = 0; i < count; i++) {
                    this.v1[i] = new ValType1(v1, v2, v3);
                }
            }
        }
示例#3
0
 public void VVal1(ValType1 vt)
 {
     // do nothing
 }
示例#4
0
 public ValType1 Val1Val1(ValType1 vt)
 {
     return(vt);
 }
示例#5
0
 public void VVal1(ValType1 vt) {
     // do nothing
 }
示例#6
0
 public ValType1 Val1Val1(ValType1 vt) {
     return vt;
 }
示例#7
0
 void CallVal1()
 {
     ValType1 vt = m_testService.Val1();
 }