private protected override T Parse(string?input) { if (EnumInfoLookup <T> .TryParse(input, out var value)) { return(value); } throw new FormatException(ExceptionMessages.TextIsInvalidEnumValue); }
private protected override bool TryParse(string?input, out T value) => EnumInfoLookup <T> .TryParse(input, out value);