2 instantiations of KeyPart
aspire (2)
Configuration\ConfigurationService.cs (2)
535
parts.Add(new
KeyPart
(name, IsArrayIndex: false));
544
parts.Add(new
KeyPart
(index.ToString(CultureInfo.InvariantCulture), IsArrayIndex: true));
10 references to KeyPart
aspire (10)
Configuration\ConfigurationService.cs (10)
233
private static void SetNestedValue(JsonObject settings,
KeyPart
[] keyParts, string key, string value)
243
var
part = keyParts[i];
300
private static bool DeleteNestedValue(JsonNode current,
KeyPart
[] keyParts, string key, int depth)
302
var
part = keyParts[depth];
521
private static
KeyPart
[] ParseKey(string key)
523
var parts = new List<
KeyPart
>();
560
private static void ResolveKeyParts(
KeyPart
[] parts, string resolvedKey)
569
private static int GetArrayIndex(
KeyPart
part, string key)
579
private static JsonNode? GetChildValue(JsonNode current,
KeyPart
part, string key, bool allowAppend)
603
private static void SetChildValue(JsonNode current,
KeyPart
part, string key, JsonNode value)