C# Class CardsExtesions

Afficher le fichier Open project: ufcpp/UfcppSample

Méthodes publiques

Méthode 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 méthode

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

Sequence() public static méthode

public static Sequence ( this cards, int rank, bool revolution, int count ) : IEnumerable
cards this
rank int
revolution bool
count int
Résultat IEnumerable

Sequence() public static méthode

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

Sequence() public static méthode

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
Résultat IEnumerable