PriorityHandler 1.0.0

Help developers in priority management of any list with any items in it.

Install-Package PriorityHandler -Version 1.0.0
dotnet add package PriorityHandler --version 1.0.0
<PackageReference Include="PriorityHandler" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PriorityHandler --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

PriorityHandler

How to use

You can simply creat a new list using PriorityList wrapper:

List<PriorityItem<string>> priority_list = new List<PriorityItem<string>>();

Then by the help of PriorityManager class insert, swap and do a lot of priority related stuff like this:

PriorityManager<PriorityItem<string>> priority_manager = new PriorityManager<PriorityItem<string>>();
priority_manager.PriorityInsert(priority_list, line, new PriorityItem<string>((++count).ToString()));
priority_manager.Swap(priority_list, indexA, indexB);

PriorityHandler

How to use

You can simply creat a new list using PriorityList wrapper:

List<PriorityItem<string>> priority_list = new List<PriorityItem<string>>();

Then by the help of PriorityManager class insert, swap and do a lot of priority related stuff like this:

PriorityManager<PriorityItem<string>> priority_manager = new PriorityManager<PriorityItem<string>>();
priority_manager.PriorityInsert(priority_list, line, new PriorityItem<string>((++count).ToString()));
priority_manager.Swap(priority_list, indexA, indexB);

Release Notes

Help developers in priority management of any list with any items in it.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 63 6/17/2019