| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.EXTENSIONS | |
|||||
Code Reference
» Cat.String.Extensions Assembly » Cat.String.Extensions Namespace » StringExtensions Class
StringExtensions.NamedFormat(this string, object[]) Method
Formats a named message template, for example "User {UserId} logged in", by converting each named
placeholder to a positional one and passing the result to System.String.Format(System.String,System.Object[]).
public static string NamedFormat(this string format, params object?[] args);
Parameters
format System.String
The named format string. Placeholder names are only there for readability; values are matched by position.
args System.Object[]
The values to substitute into the placeholders, in order.
Returns
System.String
The formatted string.