C# Class KBS2.Handlers.LocationHandler

ファイルを表示 Open project: Railec/SE1cKBS2 Class Usage Examples

Public Methods

Method Description
AddLocation ( Location location ) : bool
DeleteLocation ( Location location ) : void
GetAllLocations ( ) : IList
GetInstance ( ) : LocationHandler
GetLocationBy ( LocationMatchDelegate match ) : Location
GetLocationsBy ( LocationMatchDelegate match ) : List
GetNames ( ) : List
LoadLocations ( ) : void

Private Methods

Method Description
EventLocationChanged ( object sender, EventArgs e ) : void
EventLocationCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
LocationHandler ( ) : System

Method Details

AddLocation() public method

public AddLocation ( Location location ) : bool
location Location A location object as a parameter of this method. It is being added to the list of locations.
return bool

DeleteLocation() public method

public DeleteLocation ( Location location ) : void
location Location Location object which is needed for knowing which location has to be deleted.
return void

GetAllLocations() public method

public GetAllLocations ( ) : IList
return IList

GetInstance() public static method

public static GetInstance ( ) : LocationHandler
return LocationHandler

GetLocationBy() public method

public GetLocationBy ( LocationMatchDelegate match ) : Location
match LocationMatchDelegate Checks if the locations are the same, or not.
return Location

GetLocationsBy() public method

public GetLocationsBy ( LocationMatchDelegate match ) : List
match LocationMatchDelegate Checks if the locations are the same, or not.
return List

GetNames() public method

public GetNames ( ) : List
return List

LoadLocations() public method

public LoadLocations ( ) : void
return void