Method Validate(string?, string?)

Assembly: redb.Route.dll

Checks that pattern is a usable mask and throws an
naming the problem otherwise (a blank mask, an invalid regular expression). Called where a mask is
declared, so a mistake fails there and not inside route compilation.

public static void Validate(string? pattern, string? paramName = null)