set Root Namespace for EmuMeterDriver
This commit is contained in:
parent
908238244f
commit
e538f6dd7e
|
@ -1,5 +1,10 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<RootNamespace>InnovEnergy.App.EmuMeterDriver</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<Import Project="../InnovEnergy.App.props" />
|
<Import Project="../InnovEnergy.App.props" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -13,5 +18,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="CliWrap" Version="3.6.0" />
|
<PackageReference Include="CliWrap" Version="3.6.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -12,7 +12,7 @@ public readonly struct Nic
|
||||||
|
|
||||||
private readonly JsonNode _Node;
|
private readonly JsonNode _Node;
|
||||||
|
|
||||||
public Nic(JsonNode node)
|
private Nic(JsonNode node)
|
||||||
{
|
{
|
||||||
_Node = node;
|
_Node = node;
|
||||||
}
|
}
|
||||||
|
@ -134,11 +134,11 @@ public readonly struct Nic
|
||||||
.ExecuteBufferedAsync();
|
.ExecuteBufferedAsync();
|
||||||
|
|
||||||
return JsonNode
|
return JsonNode
|
||||||
.Parse(result.StandardOutput)!
|
.Parse(result.StandardOutput)!
|
||||||
.AsArray()
|
.AsArray()
|
||||||
.Where(n=>n != null)
|
.Where(n => n != null)
|
||||||
.Select(n=> new Nic(n!))
|
.Select(n => new Nic(n!))
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue