C# 클래스 FP.Core.Ints

Static methods for generating sequences of ints and other convenience methods.
파일 보기 프로젝트 열기: lukesandberg/PexFaultLocalization

공개 메소드들

메소드 설명
From ( int start ) : IEnumerable

Generates a sequence of integral numbers starting with a specified number.

From ( int start, int step ) : IEnumerable

Generates a sequence of integral numbers starting with a specified number with a specified step.

Range ( int start, int end ) : IEnumerable

Generates a sequence of integral numbers starting and ending with a specified number.

Range ( int start, int end, int step ) : IEnumerable

Generates a sequence of integral numbers starting and ending with a specified number with a specified step.

Times ( this self, System.Action action ) : void

Performs an action several times.

메소드 상세

From() 공개 정적인 메소드

Generates a sequence of integral numbers starting with a specified number.
public static From ( int start ) : IEnumerable
start int The value of the first integer in the sequence.
리턴 IEnumerable

From() 공개 정적인 메소드

Generates a sequence of integral numbers starting with a specified number with a specified step.
if equals 0. ///
public static From ( int start, int step ) : IEnumerable
start int The value of the first integer in the sequence.
step int The difference between two consequent elements of the /// sequence.
리턴 IEnumerable

Range() 공개 정적인 메소드

Generates a sequence of integral numbers starting and ending with a specified number.
public static Range ( int start, int end ) : IEnumerable
start int The value of the first integer in the sequence.
end int The value of the last integer in the sequence.
리턴 IEnumerable

Range() 공개 정적인 메소드

Generates a sequence of integral numbers starting and ending with a specified number with a specified step.
if equals 0 /// or has a different sign from - .
public static Range ( int start, int end, int step ) : IEnumerable
start int The value of the first integer in the sequence.
end int The value of the last integer in the sequence.
step int The difference between two consequent elements of the /// sequence.
리턴 IEnumerable

Times() 공개 정적인 메소드

Performs an action several times.
public static Times ( this self, System.Action action ) : void
self this The number of times.
action System.Action The action.
리턴 void