C# Class KBS2.Handlers.FloorHandler

Afficher le fichier Open project: Railec/SE1cKBS2 Class Usage Examples

Méthodes publiques

Méthode Description
AddFloor ( Floor floor ) : bool
DeleteFloor ( Floor floor ) : void
GetAllFloors ( ) : IList
GetFloorBy ( FloorMatchDelegate match ) : Floor
GetFloorsBy ( FloorMatchDelegate match ) : List
GetInstance ( ) : FloorHandler
LoadFromDatabase ( ) : void

Private Methods

Méthode Description
EventFloorChanged ( object sender, EventArgs e ) : void
EventFloorCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
FloorHandler ( ) : System

Method Details

AddFloor() public méthode

public AddFloor ( Floor floor ) : bool
floor Floor A floor object as a parameter of this method. It is being added to the list of floors.
Résultat bool

DeleteFloor() public méthode

public DeleteFloor ( Floor floor ) : void
floor Floor Floor object which is needed for knowing which floor has to be deleted.
Résultat void

GetAllFloors() public méthode

public GetAllFloors ( ) : IList
Résultat IList

GetFloorBy() public méthode

public GetFloorBy ( FloorMatchDelegate match ) : Floor
match FloorMatchDelegate Checks if the floors are the same, or not.
Résultat Floor

GetFloorsBy() public méthode

public GetFloorsBy ( FloorMatchDelegate match ) : List
match FloorMatchDelegate Checks if the floors are the same, or not.
Résultat List

GetInstance() public static méthode

public static GetInstance ( ) : FloorHandler
Résultat FloorHandler

LoadFromDatabase() public méthode

public LoadFromDatabase ( ) : void
Résultat void