Пример #1
0
        public ValType2Impl(bool repeat, int count, int v1, int v2, int v3) : this() {
            this.m_v1 = new ValType1[count];

            if (repeat) {
                ValType1 vt = new ValType1Impl(v1, v2, v3);
                for (int i = 0; i < count; i++) {
                    this.m_v1[i] = vt;
                }
            } else {
                for (int i = 0; i < count; i++) {
                    this.m_v1[i] = new ValType1Impl(v1, v2, v3);
                }
            }
        }        
Пример #2
0
        public ValType2Impl(bool repeat, int count, int v1, int v2, int v3) : this()
        {
            this.m_v1 = new ValType1[count];

            if (repeat)
            {
                ValType1 vt = new ValType1Impl(v1, v2, v3);
                for (int i = 0; i < count; i++)
                {
                    this.m_v1[i] = vt;
                }
            }
            else
            {
                for (int i = 0; i < count; i++)
                {
                    this.m_v1[i] = new ValType1Impl(v1, v2, v3);
                }
            }
        }
Пример #3
0
        void CallVVal1()
        {
            ValType1 vt = new ValType1Impl(23, 29, 31);

            m_testService.VVal1(vt);
        }
Пример #4
0
 void CallVVal1() {
     ValType1 vt = new ValType1Impl(23, 29, 31);
     m_testService.VVal1(vt);
 }