C# 클래스 Spontaneous.WebApp.Services.Compare.RestaurantsSearchUtilities

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

공개 메소드들

메소드 설명
CheckForCorrectChainMenu ( RestaurantBasicData rest ) : bool
FindAllRestaurantsByOperator ( string operatorName, bool emptyMenu = false ) : List
FindAllRestaurantsWithCusine ( ) : List
FindAllRestaurantsWithCusineAndEmptyMenu ( ) : List
FindAllRestaurantsWithoutCusine ( ) : List
FindAllRestaurantsWithoutCusineAndEmptyMenu ( ) : 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"

GetllAllRestaurantsBasicDataWithDefaultMenuInStringList ( ) : List
ToRestaurantListEntity ( List restaurantsList ) : List

비공개 메소드들

메소드 설명
CalcDistance ( Location sourceLocation, Location targetLocation ) : double
FillGeoSearchItems ( MongoDB geoResults, Location sourceLocation ) : List

메소드 상세

CheckForCorrectChainMenu() 공개 메소드

public CheckForCorrectChainMenu ( RestaurantBasicData rest ) : bool
rest Spontaneous.DataModel.RestaurantBasicData
리턴 bool

FindAllRestaurantsByOperator() 공개 메소드

public FindAllRestaurantsByOperator ( string operatorName, bool emptyMenu = false ) : List
operatorName string
emptyMenu bool
리턴 List

FindAllRestaurantsWithCusine() 공개 메소드

public FindAllRestaurantsWithCusine ( ) : List
리턴 List

FindAllRestaurantsWithCusineAndEmptyMenu() 공개 메소드

public FindAllRestaurantsWithCusineAndEmptyMenu ( ) : List
리턴 List

FindAllRestaurantsWithoutCusine() 공개 메소드

public FindAllRestaurantsWithoutCusine ( ) : List
리턴 List

FindAllRestaurantsWithoutCusineAndEmptyMenu() 공개 메소드

public FindAllRestaurantsWithoutCusineAndEmptyMenu ( ) : List
리턴 List

FindNearestRestaurantsByOperator() 공개 메소드

public FindNearestRestaurantsByOperator ( string operatorName, Location location, double maxDistance ) : List
operatorName string
location Spontaneous.DataModel.Location
maxDistance double
리턴 List

GetAllRestaurantsWithBackOfficeSource() 공개 메소드

public GetAllRestaurantsWithBackOfficeSource ( ) : List
리턴 List

GetAllRestaurantsWithEmptyMenu() 공개 메소드

Function should find all restaurants which empty menu
public GetAllRestaurantsWithEmptyMenu ( ) : List
리턴 List

GetAllRestaurantsWithOsmSource() 공개 메소드

Function should find all restaurants which source is "OpenStreetMap"
public GetAllRestaurantsWithOsmSource ( ) : List
리턴 List

GetAllRestaurantsWithSearchResult() 공개 메소드

Function should find all restaurants which empty menu
public GetAllRestaurantsWithSearchResult ( ) : List
리턴 List

GetRestaurantsBySource() 공개 메소드

Find all restaurants with specified source property
public GetRestaurantsBySource ( string source ) : List
source string
리턴 List

GetllAllRestaurantsBasicDataWithDefaultMenu() 공개 메소드

Function should find all restaurants which names contains "default menu"
public GetllAllRestaurantsBasicDataWithDefaultMenu ( ) : List
리턴 List

GetllAllRestaurantsBasicDataWithDefaultMenuInStringList() 공개 메소드

ToRestaurantListEntity() 공개 메소드

public ToRestaurantListEntity ( List restaurantsList ) : List
restaurantsList List
리턴 List