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

Extensions methods for integers.
Mostrar archivo 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, Int32>.Action 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 Do ) : void

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

Loop ( this Loops, Int64>.Action 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 Do ) : void

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

Loop ( this Loops, UInt32>.Action 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 Do ) : void

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

Loop ( this Loops, UInt64>.Action 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 Do ) : void

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

ToBitString ( this value, UInt16 NumberOfBits = 64 ) : String

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 and total number of iterations as parameters.
public static Loop ( this Loops, Int32>.Action Do ) : void
Loops this The number of iterations.
Do Int32>.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 Do ) : void
Loops this The number of iterations.
Do 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 and total number of iterations as parameters.
public static Loop ( this Loops, Int64>.Action Do ) : void
Loops this The number of iterations.
Do Int64>.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 Do ) : void
Loops this The number of iterations.
Do 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 and total number of iterations as parameters.
public static Loop ( this Loops, UInt32>.Action Do ) : void
Loops this The number of iterations.
Do UInt32>.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 Do ) : void
Loops this The number of iterations.
Do 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 and total number of iterations as parameters.
public static Loop ( this Loops, UInt64>.Action Do ) : void
Loops this The number of iterations.
Do UInt64>.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 Do ) : void
Loops this The number of iterations.
Do Action A delegate to call.
return void

ToBitString() public static method

public static ToBitString ( this value, UInt16 NumberOfBits = 64 ) : String
value this
NumberOfBits System.UInt16
return String