NanoXLSX.Reader 3.1.0
Loading...
Searching...
No Matches
NanoXLSX.Internal.ReaderUtils Class Reference

Static class with common util methods, used during reading XLSX files. More...

Static Public Member Functions

static string GetAttribute (XmlNode node, string targetName, string fallbackValue=null)
 Gets the XML attribute of the passed XML node by its name.

Detailed Description

Static class with common util methods, used during reading XLSX files.

Definition at line 15 of file ReaderUtils.cs.

Member Function Documentation

◆ GetAttribute()

string NanoXLSX.Internal.ReaderUtils.GetAttribute ( XmlNode node,
string targetName,
string fallbackValue = null )
static

Gets the XML attribute of the passed XML node by its name.

Parameters
nodeXML node that contains the attribute
targetNameName of the target attribute
fallbackValueOptional fallback value if the attribute was not found. Default is null
Returns
Attribute value as string or default value if not found (can be null)

Definition at line 24 of file ReaderUtils.cs.


The documentation for this class was generated from the following file: