private void OnQueryValueFromText( QueryValueFromTextEventArgs e )
 {
   if( this.QueryValueFromText != null )
     this.QueryValueFromText( this, e );
 }
    internal object GetValueFromText( string text, out bool hasParsingError )
    {
      object value = null;
      bool success = this.QueryValueFromTextCore( text, out value );

      QueryValueFromTextEventArgs e = new QueryValueFromTextEventArgs( text, value );
      e.HasParsingError = !success;

      this.OnQueryValueFromText( e );

      hasParsingError = e.HasParsingError;

      return e.Value;
    }