Cleanup around base collection types. (#59)

* Hardware in IGroup is now IEnumerable. No point to call ToArray each time.

* Use ValueTuple insead of custom pair.

* ListSet -> HashSet

* Ring Collection -> List

* ReadOnlyArray -> ReadOnlyList
This commit is contained in:
Michal
2018-10-30 14:44:41 +01:00
committed by Phyxion
parent 9900f5c0de
commit 5d89cdc43d
32 changed files with 74 additions and 497 deletions
+1 -5
View File
@@ -26,8 +26,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Collections\Pair.cs" />
<Compile Include="Collections\RingCollection.cs" />
<Compile Include="Hardware\Aquacomputer\AquacomputerGroup.cs" />
<Compile Include="Hardware\Aquacomputer\AquastreamXT.cs" />
<Compile Include="Hardware\ATI\ADL.cs" />
@@ -111,9 +109,6 @@
<Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
<Compile Include="Hardware\ISettings.cs" />
<Compile Include="Hardware\HexStringArray.cs" />
<Compile Include="Collections\IReadOnlyArray.cs" />
<Compile Include="Collections\ListSet.cs" />
<Compile Include="Collections\ReadOnlyArray.cs" />
<Compile Include="Hardware\ThreadAffinity.cs" />
<Compile Include="Properties\AssemblyLibInfo.cs" />
<Compile Include="Properties\AssemblyVersion.cs" />
@@ -141,5 +136,6 @@
<ItemGroup>
<PackageReference Include="hidlibrary" Version="3.2.46" />
<PackageReference Include="System.Management" Version="4.5.0-preview1-25914-04" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
</Project>