ScoobyRom.DataFile.RomXml.GetValuesElement C# (CSharp) Method

GetValuesElement() static private method

static private GetValuesElement ( int address, string unit, TableType tableType ) : System.Xml.Linq.XElement
address int
unit string
tableType TableType
return System.Xml.Linq.XElement
        static XElement GetValuesElement(int address, string unit, TableType tableType)
        {
            return new XElement (X_values,
                new XAttribute (X_address, HexNum (address)),
                new XAttribute (X_unit, unit),
                new XAttribute (X_tableType, tableType.ToStr ()));
        }