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

https://github.com/xjine/unity_ilistex

IListEx provieds IList extension methods.
https://github.com/xjine/unity_ilistex

csharp unity

Last synced: about 2 months ago
JSON representation

IListEx provieds IList extension methods.

Awesome Lists containing this project

README

          

# Unity_IListEx

IListEx provieds IList extension methods.

*NOTE:* This project is made by Unity, but the ``IListEx.cs`` works on a native C#.

## Import to Your Project

You can import this asset from UnityPackage.

- [IListEx.unitypackage](https://github.com/XJINE/Unity_IListEx/blob/master/IListEx.unitypackage)

## How to Use

IListEx provies folloing methods.

```csharp
public static void Add (this IList list, T item, int capacity)
public static void Enqueue(this IList list, T item)
public static void Enqueue(this IList list, T item, int capacity)
public static T Dequeue(this IList list)
public static T Peek (this IList list)
public static void Push (this IList list, T item)
public static void Push (this IList list, T item, int capacity)
public static T Pop (this IList list)
public static void RemoveRange(this IList list, int index, int count)
public static IEnumerable Slice(this IList list, int index, int count)
public static T Random (this IList list)
public static void Shuffle(this IList list)
```