C# Class CardsExtesions

Mostra file Open project: ufcpp/UfcppSample

Public Methods

Method Description
MinCard ( this cards, bool>.Func pred, bool revolution ) : IEnumerable

cardsの中から、条件predを満たす最少ランクのカードを返す。

Sequence ( this cards, int rank, bool revolution, int count ) : IEnumerable
Sequence ( this cards, int rank, bool revolution, int count, Suit, suit ) : IEnumerable
Sequence ( this cards, int rank, bool revolution, int count, Suit, suit, int jokers ) : IEnumerable

Method Details

MinCard() public static method

cardsの中から、条件predを満たす最少ランクのカードを返す。
public static MinCard ( this cards, bool>.Func pred, bool revolution ) : IEnumerable
cards this 対象となる札。
pred bool>.Func 条件。
revolution bool
return IEnumerable

Sequence() public static method

public static Sequence ( this cards, int rank, bool revolution, int count ) : IEnumerable
cards this
rank int
revolution bool
count int
return IEnumerable

Sequence() public static method

public static Sequence ( this cards, int rank, bool revolution, int count, Suit, suit ) : IEnumerable
cards this
rank int
revolution bool
count int
suit Suit,
return IEnumerable

Sequence() public static method

public static Sequence ( this cards, int rank, bool revolution, int count, Suit, suit, int jokers ) : IEnumerable
cards this
rank int
revolution bool
count int
suit Suit,
jokers int
return IEnumerable