Esempio n. 1
0
 /// <summary>
 ///     Gets the value for this current node as an enum. Defaults to the enum's Default Value if parsing fails.
 /// </summary>
 /// <returns> the enum value of the node </returns>
 /// <remarks>
 /// </remarks>
 public T GetEnumValue <T>() where T : struct, IConvertible
 {
     return(StringValue.CastToEnum <T>());
 }