Lean  $LEAN_TAG$
QuantConnect.Util.XElementExtensions Class Reference

Provides extension methods for the XML to LINQ types More...

Static Public Member Functions

static T Get< T > (this XElement element, string name)
 Gets the value from the element and converts it to the specified type. More...
 

Detailed Description

Provides extension methods for the XML to LINQ types

Definition at line 25 of file XElementExtensions.cs.

Member Function Documentation

◆ Get< T >()

static T QuantConnect.Util.XElementExtensions.Get< T > ( this XElement  element,
string  name 
)
static

Gets the value from the element and converts it to the specified type.

Template Parameters
TThe output type
Parameters
elementThe element to access
nameThe attribute name to access on the element
Returns
The converted value
Type Constraints
T :IConvertible 

Definition at line 34 of file XElementExtensions.cs.


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