C# Class Belot.CardsCollection

Collection of cards.
Inheritance: System.Collections.ReadOnlyCollectionBase
Afficher le fichier Open project: NikolayIT/BelotGameEngine Class Usage Examples

Méthodes publiques

Méthode Description
CardsCollection ( ) : System
Contains ( Card value ) : bool

Whether the collection contains a specific card.

IndexOf ( Card value ) : int

this ( int index ) : Card

Indexer for the collection

Méthodes protégées

Méthode Description
RaiseChanged ( ) : void

Raises the Changed event

Private Methods

Méthode Description
Add ( Card value ) : int
Clear ( ) : void
Insert ( int index, Card value ) : void
Remove ( Card value ) : void
RemoveAt ( int index ) : void
Sort ( CardComparer comparer ) : void

Method Details

CardsCollection() public méthode

public CardsCollection ( ) : System
Résultat System

Contains() public méthode

Whether the collection contains a specific card.
public Contains ( Card value ) : bool
value Card
Résultat bool

IndexOf() public méthode

public IndexOf ( Card value ) : int
value Card
Résultat int

RaiseChanged() protected méthode

Raises the Changed event
protected RaiseChanged ( ) : void
Résultat void

this() public méthode

Indexer for the collection
public this ( int index ) : Card
index int
Résultat Card