Method Resolve(string?, string, int)

Assembly: redb.Route.dll

Resolves a raw option value: null/empty → defaultValue, an integer ≥ 1 →
itself, auto (case-insensitive) → ; anything else throws, naming
the option and the valid values.

public static int Resolve(string? raw, string optionName, int defaultValue = 1)