Runtime/Libraries/Humility/Query/HUMQuery_Root.cs
/// <summary>
/// Performs a for loop with an action.
/// </summary>
Performs a for loop with an action.
Performs a for loop with an action .
public static Data.For<T> For<T>(this IList<T> collection, System.Action<IList<T>, int> action)
        {
            for (int i = 0; i < collection.Count; i++)
            {
                action(collection, i);
            }
            return new Data.For<T>(collection);
        }
public static Data . For < T > For < T > ( this IList < T > collection , System . Action < IList < T > , int > action ) { for ( int i = 0 ; i < collection . Count ; i ++ ) { action ( collection , i ) ; } return new Data . For < T > ( collection ) ; }
Performs a for loop with an action.
Performs a for loop with an action .
IList<T>
this
action
System.Action<IList<T>, int>