public static HeadedPhrase Parse(string value) { if (string.IsNullOrEmpty(value)) { throw new ArgumentException("value is null or zero length string"); } return(HeadedPhraseConverter.Parse(value)); }
public static bool TryParse(string value, out HeadedPhrase result) { try { result = HeadedPhraseConverter.Parse(value); return(true); } catch (Exception) { result = null; return(false); } }