C# Class Sequencing.WeatherApp.Controllers.AppChain.PersonalizedRecommendationsWorker

Produces personalized recommendations
ファイルを表示 Open project: SequencingDOTcom/Weather-My-Way-RTP-app Class Usage Examples

Public Properties

Property Type Description
logger log4net.ILog

Public Methods

Method Description
GetRecommendation ( ForecastRequest request, AppChainResults acr, string userName, int appId ) : List

Returns PR for given weather/alert/app-chains. First scans for alerts, then for regular weather conditions.

Private Methods

Method Description
CompareLower ( string s1, string s2 ) : bool
GetRecommendationImpl ( ForecastRequest request, string risk, bool vitD, string userName, int appId ) : List

Exact implementation for searching for PR on given weather/melanoma risk/vitd status.

Method Details

GetRecommendation() public method

Returns PR for given weather/alert/app-chains. First scans for alerts, then for regular weather conditions.
public GetRecommendation ( ForecastRequest request, AppChainResults acr, string userName, int appId ) : List
request Sequencing.WeatherApp.Controllers.DaoLayer.ForecastRequest
acr AppChainResults
userName string
appId int
return List

Property Details

logger public_oe property

public ILog,log4net logger
return log4net.ILog