Method | Description | |
---|---|---|
AddBuilding ( Building building ) : void | ||
DeleteBuilding ( Building building ) : void | ||
Exists ( string name, Location location ) : bool | ||
GetAllBuildings ( ) : IList | ||
GetBuildingBy ( BuildingMatchDelegate match ) : Building | ||
GetBuildingsBy ( BuildingMatchDelegate match ) : List |
||
GetInstance ( ) : |
||
LoadBuildings ( ) : void |
Method | Description | |
---|---|---|
BuildingHandler ( ) : System | ||
EventBuildingChanged ( object sender, |
||
EventBuildingCollectionChanged ( object sender, |
public AddBuilding ( Building building ) : void | ||
building | Building | Adds a new building to the list of buildings * with given name and LocationID in the Building object. |
return | void |
public DeleteBuilding ( Building building ) : void | ||
building | Building | Building object which is needed for knowing which building has to be deleted. |
return | void |
public Exists ( string name, Location location ) : bool | ||
name | string | String name of the building. |
location | Location | Location object. |
return | bool |
public GetBuildingBy ( BuildingMatchDelegate match ) : Building | ||
match | BuildingMatchDelegate | Check if the building is the same. |
return | Building |
public GetBuildingsBy ( BuildingMatchDelegate match ) : List |
||
match | BuildingMatchDelegate | Checks if the buildings are the same, or not. |
return | List |
public static GetInstance ( ) : |
||
return |