public bool Parse(string value)
{
try
{
if (!ParseValue(value))
{
this.ValidationResult = new FieldValidationResult("FieldParse");
this.ValidationResult.AddParameter("InputValue", value);
return false;
}
else
{
Validate();
return IsValid;
}
}
catch (Exception e) //rethrow
{
throw FieldParsingException.GetException(this, e);
}
}
//protected abstract bool ParseValue(string value);