ListExtensions

Various list extension methods.

namespace Sirenix.Utilities
{
[ExtensionAttribute]
public static class ListExtensions
}

Requirements

Namespace: Sirenix.Utilities
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Static Methods

Return Type Definition Description
void SetLength<T>(ref IList<T>, int) Increases or decrease the number of items in the list to the specified count.
void SetLength<T>(ref IList<T>, int, Func<T>) Increases or decrease the number of items in the list to the specified count.

Extension Methods

Return Type Definition Description
void SetLength<T>(this IList<T>, int) Increases or decrease the number of items in the list to the specified count.
void SetLength<T>(this IList<T>, int, Func<T>) Increases or decrease the number of items in the list to the specified count.