C# Class Spontaneouse.DAL.Mongo10Gen.Utilities.RestaurantsSearch

Afficher le fichier Open project: pashkov/Spontaneous Class Usage Examples

Méthodes publiques

Méthode Description
CheckForCorrectChainMenu ( RestaurantBasicData rest ) : bool
FindAllRestaurantsByOperator ( string operatorName, bool emptyMenu = false ) : List
FindAllRestaurantsWithCusine ( ) : List
FindAllRestaurantsWithCusineAndEmptyMenu ( ) : List
FindAllRestaurantsWithoutCusine ( ) : List
FindAllRestaurantsWithoutCusineAndEmptyMenu ( ) : List
FindAllSwedenFinlandRestaurants ( ) : List
FindAllSwedenFinlandRestaurantsWithCusine ( ) : List
FindNearestRestaurantsByOperator ( string operatorName, Location location, double maxDistance ) : List
GetAllRestaurantsWithBackOfficeSource ( ) : List
GetAllRestaurantsWithEmptyMenu ( ) : List

Function should find all restaurants which empty menu

GetAllRestaurantsWithOsmSource ( ) : List

Function should find all restaurants which source is "OpenStreetMap"

GetAllRestaurantsWithSearchResult ( ) : List

Function should find all restaurants which empty menu

GetRestaurantsBySource ( string source ) : List

Find all restaurants with specified source property

GetllAllRestaurantsBasicDataWithDefaultMenu ( ) : List

Function should find all restaurants which names contains "default menu"

Private Methods

Méthode Description
CalcDistance ( Location sourceLocation, Location targetLocation ) : double
FillGeoSearchItems ( MongoDB geoResults, Location sourceLocation ) : List

Method Details

CheckForCorrectChainMenu() public méthode

public CheckForCorrectChainMenu ( RestaurantBasicData rest ) : bool
rest Spontaneous.DataModel.RestaurantBasicData
Résultat bool

FindAllRestaurantsByOperator() public méthode

public FindAllRestaurantsByOperator ( string operatorName, bool emptyMenu = false ) : List
operatorName string
emptyMenu bool
Résultat List

FindAllRestaurantsWithCusine() public méthode

public FindAllRestaurantsWithCusine ( ) : List
Résultat List

FindAllRestaurantsWithCusineAndEmptyMenu() public méthode

public FindAllRestaurantsWithCusineAndEmptyMenu ( ) : List
Résultat List

FindAllRestaurantsWithoutCusine() public méthode

public FindAllRestaurantsWithoutCusine ( ) : List
Résultat List

FindAllRestaurantsWithoutCusineAndEmptyMenu() public méthode

public FindAllRestaurantsWithoutCusineAndEmptyMenu ( ) : List
Résultat List

FindAllSwedenFinlandRestaurants() public méthode

public FindAllSwedenFinlandRestaurants ( ) : List
Résultat List

FindAllSwedenFinlandRestaurantsWithCusine() public méthode

public FindAllSwedenFinlandRestaurantsWithCusine ( ) : List
Résultat List

FindNearestRestaurantsByOperator() public méthode

public FindNearestRestaurantsByOperator ( string operatorName, Location location, double maxDistance ) : List
operatorName string
location Spontaneous.DataModel.Location
maxDistance double
Résultat List

GetAllRestaurantsWithBackOfficeSource() public méthode

public GetAllRestaurantsWithBackOfficeSource ( ) : List
Résultat List

GetAllRestaurantsWithEmptyMenu() public méthode

Function should find all restaurants which empty menu
public GetAllRestaurantsWithEmptyMenu ( ) : List
Résultat List

GetAllRestaurantsWithOsmSource() public méthode

Function should find all restaurants which source is "OpenStreetMap"
public GetAllRestaurantsWithOsmSource ( ) : List
Résultat List

GetAllRestaurantsWithSearchResult() public méthode

Function should find all restaurants which empty menu
public GetAllRestaurantsWithSearchResult ( ) : List
Résultat List

GetRestaurantsBySource() public méthode

Find all restaurants with specified source property
public GetRestaurantsBySource ( string source ) : List
source string
Résultat List

GetllAllRestaurantsBasicDataWithDefaultMenu() public méthode

Function should find all restaurants which names contains "default menu"
public GetllAllRestaurantsBasicDataWithDefaultMenu ( ) : List
Résultat List