public static bool TryFrom(string version, out ElasticsearchVersion v) { v = null; try { v = ElasticsearchVersionResolver.From(version); } catch { // ignored } return(v != null); }
public static ElasticsearchVersion From(string version) => ElasticsearchVersionResolver.From(version);