feat(WebKey): Statische Klasse Formats zur Aufnahme von Schlüsselformaten hinzugefügt.
- Erweiterungsmethoden für die Formatierung von Tastenformaten hinzugefügt.
This commit is contained in:
parent
abda0d14e8
commit
3b5c6086a9
@ -42,5 +42,22 @@
|
||||
public static readonly string ViewDoc = nameof(ViewDoc);
|
||||
public static readonly string HomePageDescription = nameof(HomePageDescription);
|
||||
public static readonly string Privacy = nameof(Privacy);
|
||||
|
||||
public static class Formats
|
||||
{
|
||||
public static readonly string LockedTitle = "Locked{0}Title";
|
||||
|
||||
public static readonly string LockedBody = "Locked{0}Body";
|
||||
|
||||
public static readonly string LockedCodeLabel = "Locked{0}CodeLabel";
|
||||
|
||||
public static readonly string LockedFooterTitle = "Locked{0}FooterTitle";
|
||||
|
||||
public static readonly string LockedFooterBody = "Locked{0}FooterBody";
|
||||
}
|
||||
|
||||
public static string Format(this string st, object? arg0) => string.Format(st, arg0: arg0);
|
||||
|
||||
public static string Format(this string st, params object?[] args) => string.Format(st, args: args);
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user