Version 2.1.0.0

GarbageFreeIterators class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class GarbageFreeIterators
Garbage free enumerator methods.
Inheritance
  • System.Object
  • GarbageFreeIterators

Methods

GFIterator<T>(HashSet<T>)
Garbage free enumerator for hashsets.
public static GarbageFreeIterators.HashsetIterator<T> GFIterator<T>(this HashSet<T> hashset)
Parameters
System.Collections.Generic.HashSet<T> hashset

Type Parameters
T

GFIterator<T>(List<T>)
Garbage free enumerator for lists.
public static GarbageFreeIterators.ListIterator<T> GFIterator<T>(this List<T> list)
Parameters
System.Collections.Generic.List<T> list

Type Parameters
T

GFIterator<T1, T2>(Dictionary<T1, T2>)
Garbage free enumerator for dictionaries.
public static GarbageFreeIterators.DictionaryIterator<T1, T2> GFIterator<T1, T2>(this Dictionary<T1, T2> dictionary)
Parameters
System.Collections.Generic.Dictionary<T1, T2> dictionary

Type Parameters
T1

T2

GFValueIterator<T1, T2>(Dictionary<T1, T2>)
Garbage free enumator for dictionary values.
public static GarbageFreeIterators.DictionaryValueIterator<T1, T2> GFValueIterator<T1, T2>(this Dictionary<T1, T2> dictionary)
Parameters
System.Collections.Generic.Dictionary<T1, T2> dictionary

Type Parameters
T1

T2

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.