AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.XmlReaders.XmlReaderUtilities.GetByteValue C# (CSharp) Method

GetByteValue() public static method

public static GetByteValue ( XPathNavigator node, string attributeName ) : byte
node System.Xml.XPath.XPathNavigator
attributeName string
return byte
        public static byte GetByteValue(XPathNavigator node, string attributeName)
        {
            var value = node.GetAttribute(attributeName, node.NamespaceURI);
            return value != string.Empty ? byte.Parse(value) : (byte)0;
        }