C# Class Mono.Rocks.Int32Rocks

ファイルを表示 Open project: mono/rocks

Public Methods

Method Description
DownTo ( this self, int limit ) : IEnumerable
IsEven ( this value ) : bool
IsOdd ( this value ) : bool
Step ( this self, int limit, int step ) : IEnumerable
Times ( this self ) : IEnumerable
UpTo ( this self, int limit ) : IEnumerable

Private Methods

Method Description
CreateTimesIterator ( int self ) : IEnumerable

Method Details

DownTo() public static method

public static DownTo ( this self, int limit ) : IEnumerable
self this
limit int
return IEnumerable

IsEven() public static method

public static IsEven ( this value ) : bool
value this
return bool

IsOdd() public static method

public static IsOdd ( this value ) : bool
value this
return bool

Step() public static method

public static Step ( this self, int limit, int step ) : IEnumerable
self this
limit int
step int
return IEnumerable

Times() public static method

public static Times ( this self ) : IEnumerable
self this
return IEnumerable

UpTo() public static method

public static UpTo ( this self, int limit ) : IEnumerable
self this
limit int
return IEnumerable