C# Class org.GraphDefined.Vanaheimr.Illias.Commons.Loops

Loop methods for integers.
Mostra file Open project: Vanaheimr/Illias

Public Methods

Method Description
Do ( Int32 Loops, System.Action Do ) : void

Loop for the given number of iterations while calling the given delegate.

Do ( Int32 Loops, Action_Int32 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.

Do ( Int32 Loops, Action_Int32_Int32 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.

Do ( System.Int64 Loops, System.Action Do ) : void

Loop for the given number of iterations while calling the given delegate.

Do ( System.Int64 Loops, Action_Int64 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.

Do ( System.Int64 Loops, Action_Int64_Int64 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.

Do ( UInt32 Loops, System.Action Do ) : void

Loop for the given number of iterations while calling the given delegate.

Do ( UInt32 Loops, Action_UInt32 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.

Do ( UInt32 Loops, Action_UInt32_UInt32 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.

Do ( System.UInt64 Loops, System.Action Do ) : void

Loop for the given number of iterations while calling the given delegate.

Do ( System.UInt64 Loops, Action_UInt64 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.

Do ( System.UInt64 Loops, Action_UInt64_UInt64 Do ) : void

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.

Method Details

Do() public static method

Loop for the given number of iterations while calling the given delegate.
public static Do ( Int32 Loops, System.Action Do ) : void
Loops System.Int32 The number of iterations.
Do System.Action A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.
public static Do ( Int32 Loops, Action_Int32 Do ) : void
Loops System.Int32 The number of iterations.
Do Action_Int32 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.
public static Do ( Int32 Loops, Action_Int32_Int32 Do ) : void
Loops System.Int32 The number of iterations.
Do Action_Int32_Int32 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate.
public static Do ( System.Int64 Loops, System.Action Do ) : void
Loops System.Int64 The number of iterations.
Do System.Action A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.
public static Do ( System.Int64 Loops, Action_Int64 Do ) : void
Loops System.Int64 The number of iterations.
Do Action_Int64 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.
public static Do ( System.Int64 Loops, Action_Int64_Int64 Do ) : void
Loops System.Int64 The number of iterations.
Do Action_Int64_Int64 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate.
public static Do ( UInt32 Loops, System.Action Do ) : void
Loops System.UInt32 The number of iterations.
Do System.Action A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.
public static Do ( UInt32 Loops, Action_UInt32 Do ) : void
Loops System.UInt32 The number of iterations.
Do Action_UInt32 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.
public static Do ( UInt32 Loops, Action_UInt32_UInt32 Do ) : void
Loops System.UInt32 The number of iterations.
Do Action_UInt32_UInt32 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate.
public static Do ( System.UInt64 Loops, System.Action Do ) : void
Loops System.UInt64 The number of iterations.
Do System.Action A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration as parameter.
public static Do ( System.UInt64 Loops, Action_UInt64 Do ) : void
Loops System.UInt64 The number of iterations.
Do Action_UInt64 A delegate to call.
return void

Do() public static method

Loop for the given number of iterations while calling the given delegate with the current iteration and total number of iterations as parameters.
public static Do ( System.UInt64 Loops, Action_UInt64_UInt64 Do ) : void
Loops System.UInt64 The number of iterations.
Do Action_UInt64_UInt64 A delegate to call.
return void