| Overloads | |
|---|---|
| Combine(string, string) | 组合两个键路径(字符串版本,用于常见场景) |
| Combine(ReadOnlySpan<char>, ReadOnlySpan<char>) | 组合两个键路径(避免不必要的分配) |
组合两个键路径(字符串版本,用于常见场景)
public static string Combine(string? parent, string child);
parent System.String
父路径
child System.String
子键
System.String
组合后的完整键
组合两个键路径(避免不必要的分配)
public static string Combine(System.ReadOnlySpan<char> parent, System.ReadOnlySpan<char> child);
parent System.ReadOnlySpan<System.Char>
父路径
child System.ReadOnlySpan<System.Char>
子键
System.String
组合后的完整键