public static void RegisterDefaultFormatExtensions() { TextFormat.AddCustomFormatHint("kv", FormatKeyValue); TextFormat.AddCustomFormatHint("lo", n => n?.ToString()?.ToLower()); TextFormat.AddCustomFormatHint("hi", n => n?.ToString()?.ToUpper()); TextFormat.AddCustomFormatHint("decrypt", n => PasswordSecurity.Decrypt(n?.ToString())); }