C# 클래스 org.GraphDefined.Vanaheimr.Illias.Commons.IntegerExtensions

Extensions methods for integers.
파일 보기 프로젝트 열기: Vanaheimr/Illias

공개 메소드들

메소드 설명
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.

메소드 상세

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void

Loop() 공개 정적인 메소드

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.
리턴 void