Example #1
0
 /// <inheritdoc/>
 public virtual int GetAsInteger()
 {
     Thrower.ThrowInvalidCastException("Value", "int");
     return(0);
 }
Example #2
0
 /// <inheritdoc/>
 public virtual double GetAsReal()
 {
     Thrower.ThrowInvalidCastException("Value", "real");
     return(0.0);
 }
Example #3
0
 /// <inheritdoc/>
 public virtual bool GetAsBoolean()
 {
     Thrower.ThrowInvalidCastException("Value", "boolean");
     return(false);
 }