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