Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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. |
Результат | void |
public DeleteBuilding ( Building building ) : void | ||
building | Building | Building object which is needed for knowing which building has to be deleted. |
Результат | void |
public Exists ( string name, Location location ) : bool | ||
name | string | String name of the building. |
location | Location | Location object. |
Результат | bool |
public GetBuildingBy ( BuildingMatchDelegate match ) : Building | ||
match | BuildingMatchDelegate | Check if the building is the same. |
Результат | Building |
public GetBuildingsBy ( BuildingMatchDelegate match ) : List |
||
match | BuildingMatchDelegate | Checks if the buildings are the same, or not. |
Результат | List |
public static GetInstance ( ) : |
||
Результат |