Ejemplo n.º 1
0
        /// <summary>
        /// Creates a tps file from scratch.
        /// </summary>
        internal void SetDefaultValues()
        {
            _versionField = "1.0";
            _structField  = new dataStruct {
                type = "Settings"
            };

            var structField = new List <object>();
            var elementName = new List <ItemsChoiceType2>();

            FillStruct(structField, elementName);
            _structField.Items            = structField.ToArray();
            _structField.ItemsElementName = elementName.ToArray();

            SetupFile();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a tps file from scratch.
        /// </summary>
        internal void SetDefaultValues()
        {
            _versionField = "1.0";
            _structField = new dataStruct {type = "Settings"};

            var structField = new List<object>(); 
            var elementName = new List<ItemsChoiceType2>();
    
            FillStruct(structField, elementName);
            _structField.Items = structField.ToArray();
            _structField.ItemsElementName = elementName.ToArray();

            SetupFile();
        }