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