C# Class KBS2.Handlers.LocationHandler

Afficher le fichier Open project: Railec/SE1cKBS2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
EventLocationChanged ( object sender, EventArgs e ) : void
EventLocationCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
LocationHandler ( ) : System

Method Details

AddLocation() public méthode

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.
Résultat bool

DeleteLocation() public méthode

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

GetAllLocations() public méthode

public GetAllLocations ( ) : IList
Résultat IList

GetInstance() public static méthode

public static GetInstance ( ) : LocationHandler
Résultat LocationHandler

GetLocationBy() public méthode

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

GetLocationsBy() public méthode

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

GetNames() public méthode

public GetNames ( ) : List
Résultat List

LoadLocations() public méthode

public LoadLocations ( ) : void
Résultat void