Пример #1
0
        public override void encodeInternal(CEncodedObjectOutputBufferI output)
        {
            encodeAttr(output);

            output.addAttr(TEST_ATTR, Convert.ToString(testAttribute_));

            encodeChildren(output);

            hints_.encode(output);
        }
Пример #2
0
        public override void encodeInternal(CEncodedObjectOutputBufferI output)
        {
            ////////////////////
            //Attributes First
            encodeAttr(output);

            //now write out your attributes
            output.addAttr(TEST_ATTR, Convert.ToString(testAttribute_));

            ////////////////////
            //Derived Children Second
            encodeChildren(output);

            //now write out your objects
            hints_.encode(output);
        }