Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ForEach()

void System.Collections.Immutable.ImmutableList< T >.ForEach ( Action< T > action)
inline

Implements System.Collections.Immutable.IImmutableListQueries< T >.

Definition at line 1850 of file ImmutableList.cs.

1851 {
1852 Requires.NotNull(action, "action");
1854 while (enumerator.MoveNext())
1855 {
1856 T current = enumerator.Current;
1857 action(current);
1858 }
1859 }
IEnumerator< T > IEnumerable< T >. GetEnumerator()

References System.action, and System.Collections.Immutable.ImmutableList< T >.GetEnumerator().