Method Resolve(string, Func<string, string?>)

Assembly: redb.Route.dll

Replaces every {{key}} / {{key:default}} in text with the value
returned by lookup for that key (or the default when the lookup yields none).

public static string Resolve(string text, Func<string, string?> lookup)