C# 클래스 KBS2.Handlers.BuildingHandler

파일 보기 프로젝트 열기: Railec/SE1cKBS2 1 사용 예제들

공개 메소드들

메소드 설명
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 ( ) : BuildingHandler
LoadBuildings ( ) : void

비공개 메소드들

메소드 설명
BuildingHandler ( ) : System
EventBuildingChanged ( object sender, EventArgs e ) : void
EventBuildingCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

메소드 상세

AddBuilding() 공개 메소드

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

DeleteBuilding() 공개 메소드

public DeleteBuilding ( Building building ) : void
building Building Building object which is needed for knowing which building has to be deleted.
리턴 void

Exists() 공개 메소드

public Exists ( string name, Location location ) : bool
name string String name of the building.
location Location Location object.
리턴 bool

GetAllBuildings() 공개 메소드

public GetAllBuildings ( ) : IList
리턴 IList

GetBuildingBy() 공개 메소드

public GetBuildingBy ( BuildingMatchDelegate match ) : Building
match BuildingMatchDelegate Check if the building is the same.
리턴 Building

GetBuildingsBy() 공개 메소드

public GetBuildingsBy ( BuildingMatchDelegate match ) : List
match BuildingMatchDelegate Checks if the buildings are the same, or not.
리턴 List

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : BuildingHandler
리턴 BuildingHandler

LoadBuildings() 공개 메소드

public LoadBuildings ( ) : void
리턴 void