C# Class KBS2.Handlers.FloorHandler

显示文件 Open project: Railec/SE1cKBS2 Class Usage Examples

Public Methods

Method 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

Method Description
EventFloorChanged ( object sender, EventArgs e ) : void
EventFloorCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
FloorHandler ( ) : System

Method Details

AddFloor() public method

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.
return bool

DeleteFloor() public method

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

GetAllFloors() public method

public GetAllFloors ( ) : IList
return IList

GetFloorBy() public method

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

GetFloorsBy() public method

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

GetInstance() public static method

public static GetInstance ( ) : FloorHandler
return FloorHandler

LoadFromDatabase() public method

public LoadFromDatabase ( ) : void
return void