Skip to content

Commit 1495bcb

Browse files
committed
Comments
1 parent bbf3024 commit 1495bcb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/EmberLibConsumer.net/Lawo.GlowLogConverter.Main/Lawo.GlowLogConverter.Main.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@
1414
<ProjectReference Include="..\Lawo.EmberPlusSharp\Lawo.EmberPlusSharp.csproj" />
1515
</ItemGroup>
1616

17+
<ItemGroup>
18+
<Folder Include="Properties\" />
19+
</ItemGroup>
20+
1721
</Project>

src/EmberPlusConsumerClassLib/EmberHelpers/NodeExtensions.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ public static async Task<INode> GetChildNode(this INode node, string identifier,
8888
return node.Children.OfType<INode>().FirstOrDefault(c => c.Identifier == identifier);
8989
}
9090

91+
/// <summary>
92+
/// Navigate to the node in entered <see cref="path"/>, the path is split by '/'.
93+
/// </summary>
94+
/// <param name="root">Root node</param>
95+
/// <param name="path">Path as string</param>
96+
/// <param name="consumer"></param>
97+
/// <returns></returns>
9198
public static async Task<INode> NavigateToNode(this INode root, string path, Consumer<MyRoot> consumer)
9299
{
93100
string[] steps = path.Split('/');

0 commit comments

Comments
 (0)