Method GetValue
- Namespace
- Skyline.DataMiner.Utils.DOM.Extensions
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
GetValue<T>(ValueWrapper<T>)
Gets the value from the specified ValueWrapper<T>.
public static T GetValue<T>(this ValueWrapper<T> valueWrapper)
Parameters
valueWrapper
ValueWrapper<T>The value wrapper.
Returns
- T
The value from the wrapper or the default value of the type if the wrapper is null.
Type Parameters
T
The type of the value in the wrapper.