Cuemon .NET Framework
For Method (LoopUtility)

Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.
Overload List
OverloadDescription
For<TSource>(TSource,Act<TSource>)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource>(TSource,RelationalOperator,TSource,Act<TSource>)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource>)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource,T>(TSource,Act<TSource,T>,T)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T>(TSource,RelationalOperator,TSource,Act<TSource,T>,T)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource,T>,T)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource,T1,T2>(TSource,Act<TSource,T1,T2>,T1,T2)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2>(TSource,RelationalOperator,TSource,Act<TSource,T1,T2>,T1,T2)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource,T1,T2>,T1,T2)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource,T1,T2,T3>(TSource,Act<TSource,T1,T2,T3>,T1,T2,T3)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3>(TSource,RelationalOperator,TSource,Act<TSource,T1,T2,T3>,T1,T2,T3)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource,T1,T2,T3>,T1,T2,T3)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource,T1,T2,T3,T4>(TSource,Act<TSource,T1,T2,T3,T4>,T1,T2,T3,T4)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3,T4>(TSource,RelationalOperator,TSource,Act<TSource,T1,T2,T3,T4>,T1,T2,T3,T4)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3,T4>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource,T1,T2,T3,T4>,T1,T2,T3,T4)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource,T1,T2,T3,T4,T5>(TSource,Act<TSource,T1,T2,T3,T4,T5>,T1,T2,T3,T4,T5)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the former is initialized to set counter with an initial value of 0 and applying relational rule RelationalOperator.LessThan and the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3,T4,T5>(TSource,RelationalOperator,TSource,Act<TSource,T1,T2,T3,T4,T5>,T1,T2,T3,T4,T5)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>, where the latter is initialized to increment counter by 1 on each iteration.  
For<TSource,T1,T2,T3,T4,T5>(TSource,RelationalOperator,TSource,AssignmentOperator,TSource,Act<TSource,T1,T2,T3,T4,T5>,T1,T2,T3,T4,T5)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.
This overload uses the default implementation of the necessary two callback methods of the for-loop; Condition<T> and Iterator<T>.  
For<TSource>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource>)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
For<TSource,T>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource,T>,T)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
For<TSource,T1,T2>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource,T1,T2>,T1,T2)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
For<TSource,T1,T2,T3>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource,T1,T2,T3>,T1,T2,T3)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
For<TSource,T1,T2,T3,T4>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource,T1,T2,T3,T4>,T1,T2,T3,T4)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
For<TSource,T1,T2,T3,T4,T5>(Doer<TSource,RelationalOperator,TSource,Boolean>,TSource,RelationalOperator,TSource,Doer<TSource,AssignmentOperator,TSource,TSource>,AssignmentOperator,TSource,Act<TSource,T1,T2,T3,T4,T5>,T1,T2,T3,T4,T5)Provides a generic way of executing a for-loop while providing ways to encapsulate and re-use existing code.  
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LoopUtility Class
LoopUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback