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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AlastairLundy.Resyslib.Collections" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AlastairLundy.Resyslib.Collections" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AlastairLundy.Resyslib.Collections" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AlastairLundy.Resyslib.Collections --version 1.0.0
                    
#r "nuget: AlastairLundy.Resyslib.Collections, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=AlastairLundy.Resyslib.Collections&version=1.0.0
                    
Install AlastairLundy.Resyslib.Collections as a Cake Addin
#tool nuget:?package=AlastairLundy.Resyslib.Collections&version=1.0.0
                    
Install AlastairLundy.Resyslib.Collections as a Cake Tool

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:

  1. Open a terminal application
  2. In the terminal application, navigate to the directory containing the source code of this project.
  3. Enter the command dotnet build -c Release if you intend to build the project for release, use dotnet build -c Debug otherwise.

From an IDE:

  1. Change the Build Configuration in your IDE to Release if you intend to distribute the built package or Debug otherwise.
  2. Right-click on the project
  3. 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:

  1. Fork the project if you haven't already done so.
  2. Create a new branch in your fork for working on the change.
  3. Test the changes to ensure the project still builds.
  4. 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.
  5. 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.
  6. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.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.