C# 클래스 CardsExtesions

파일 보기 프로젝트 열기: ufcpp/UfcppSample

공개 메소드들

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

메소드 상세

MinCard() 공개 정적인 메소드

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

Sequence() 공개 정적인 메소드

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

Sequence() 공개 정적인 메소드

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

Sequence() 공개 정적인 메소드

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
리턴 IEnumerable