public void StreamExplicitIndex(KSoft.IO.XmlElementStream s, FA mode, ref int index)
        {
            // 'rebase' the index to how the XML defs expect it
            if (mode == FA.Write)
            {
                index += IndexBase;
            }

            BCollectionXmlParams.StreamValue(s, mode, DataName, ref index,
                                             UseInnerTextForData, UseElementForData);

            // Undo any rebasing
            /*if (mode == FA.Read)*/ index -= IndexBase;
        }
Exemple #2
0
 public void StreamDataName(KSoft.IO.XmlElementStream s, FA mode, ref string name)
 {
     BCollectionXmlParams.StreamValue(s, mode, DataName, ref name,
                                      UseInnerTextForData, UseElementForData, InternDataNames,
                                      ToLowerDataNames);
 }