An open API service indexing awesome lists of open source software.

https://github.com/mostafa8026/priorityhandler

Help developers in priority management of any list with any items in it.
https://github.com/mostafa8026/priorityhandler

priorioty-manager priority priority-handler priority-list

Last synced: 22 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# PriorityHandler

[![Build Status](https://travis-ci.org/mostafa8026/PriorityHandler.svg?branch=master)](https://travis-ci.org/mostafa8026/PriorityHandler)

## How to use

Nuget package:

Install-Package PriorityHandler -Version 1.0.1

You can simply creat a new list using PriorityList wrapper:

List> priority_list = new List>();

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

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