AlastairLundy.Resyslib.Collections
1.0.0
Prefix Reserved
dotnet add package AlastairLundy.Resyslib.Collections --version 1.0.0
NuGet\Install-Package AlastairLundy.Resyslib.Collections -Version 1.0.0
<PackageReference Include="AlastairLundy.Resyslib.Collections" Version="1.0.0" />
<PackageVersion Include="AlastairLundy.Resyslib.Collections" Version="1.0.0" />
<PackageReference Include="AlastairLundy.Resyslib.Collections" />
paket add AlastairLundy.Resyslib.Collections --version 1.0.0
#r "nuget: AlastairLundy.Resyslib.Collections, 1.0.0"
#addin nuget:?package=AlastairLundy.Resyslib.Collections&version=1.0.0
#tool nuget:?package=AlastairLundy.Resyslib.Collections&version=1.0.0
Resyslib.Collections
A library that adds useful Collection primitives, like HashMaps, to .NET.
Some primitives added include:
- GenericArrayList - An ArrayList style of collection but that natively supports Generics.
- HashMap - A collection type inspired by Java's HashMap but in .NET - It currently uses a Dictionary under the hood, but this may change in the future.
- ReadOnlyHashMap - A ReadOnly version of HashMap that can't be added to.
How to Use the Project
Get the package from the Official Nuget Gallery here.
If you use Visual Studio, Jetbrains Rider, or an IDE with a Nuget interface built in, you can search for the package through there instead.
How to build the code
Part 1
From the Command Line:
- Open a terminal application
- In the terminal application, navigate to the directory containing the source code of this project.
- Enter the command
dotnet build -c Release
if you intend to build the project for release, usedotnet build -c Debug
otherwise.
From an IDE:
- Change the Build Configuration in your IDE to
Release
if you intend to distribute the built package orDebug
otherwise. - Right-click on the project
- Select
Build Selected Projects
, or something similar if it appears differently in your IDE
Part 2
Regardless of whether you used an IDE or the Terminal to build your package, if it built successfully you'll find the resulting .nupkg and .snupkg files and other dll files in the following locations:
- The
/bin/Release
directory inside the source code directory if you built the project using the Release configuration - or the
/bin/Debug
directory inside the source code directory if you built the project using the Debug configuration.
How to contribute to the project
If you want to add features or make a change to the code:
- Fork the project if you haven't already done so.
- Create a new branch in your fork for working on the change.
- Test the changes to ensure the project still builds.
- Create a Pull Request (PR) in this project's repo to make the changes, explaining what your changes do and why they should be added in case it's not obvious.
- A maintainer reviews your PR and checks to see if it can be safely added to the library. If your PR is safe to add the maintainer should accept it and merge it.
- Hopefully your PR is accepted and merged, if not discuss with the maintainer how you can get your changes approved so that they can be merged.
Thanks in advance for contributing to this project!
Roadmap
Future versions will aim to add more Collection primitives as well as possibly tweak the behaviour of some primitives in the library.
BigCollections, larger collection primitives that use a 64-Bit Integer for indexes, are planned for a future version.
Acknowledgements
Projects
This project would like to thank the following projects for their work:
- Polyfill for simplifying .NET Standard 2.0 & 2.1 support
- Microsoft.Bcl.HashCode for providing a backport of the HashCode class and static methods to .NET Standard 2.0
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Bcl.Hashcode (>= 6.0.0 && < 7.0.0)
- PolyFill (>= 7.23.0 && < 8.0.0)
-
.NETStandard 2.1
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 218 | 11 days ago |
Initial Release as new library.