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