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

Extensions methods for integers.
Datei anzeigen Open project: Vanaheimr/Illias

Public Methods

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

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

Loop ( this Loops, Action_Int32 Do ) : void

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

Loop ( this 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.

Loop ( this Loops, Action_Int64 Do ) : void

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

Loop ( this 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.

Loop ( this Loops, Action_UInt32 Do ) : void

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

Loop ( this 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.

Loop ( this Loops, Action_UInt64 Do ) : void

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

Loop ( this 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

Loop() public static method

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

Loop() public static method

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

Loop() 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 Loop ( this Loops, Action_Int32_Int32 Do ) : void
Loops this The number of iterations.
Do Action_Int32_Int32 A delegate to call.
return void

Loop() public static method

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

Loop() 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 Loop ( this Loops, Action_Int64_Int64 Do ) : void
Loops this The number of iterations.
Do Action_Int64_Int64 A delegate to call.
return void

Loop() public static method

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

Loop() 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 Loop ( this Loops, Action_UInt32_UInt32 Do ) : void
Loops this The number of iterations.
Do Action_UInt32_UInt32 A delegate to call.
return void

Loop() public static method

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

Loop() 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 Loop ( this Loops, Action_UInt64_UInt64 Do ) : void
Loops this The number of iterations.
Do Action_UInt64_UInt64 A delegate to call.
return void