C# Class CarbonFitness.BusinessLogic.RDI.Importers.BaseRDIImporter

Show file Open project: yodiz/CarbonFitness

Protected Properties

Property Type Description
ManRecommendations List
WomanRecommendations List

Private Properties

Property Type Description
GetAgeRecommendations IEnumerable

Public Methods

Method Description
BaseRDIImporter ( INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic ) : System.Collections.Generic
Import ( INutrientRecommendationRepository nutrientRecommendationRepository ) : void
createAgeRecommendation ( int startAge, int endAge, decimal value ) : GenderAgeNutrientRecommendation

Protected Methods

Method Description
GetGenderNutrientRecommendations ( NutrientRecommendation nutrientRecommendation ) : IEnumerable
getNutrientRecommendation ( ) : NutrientRecommendation

Private Methods

Method Description
GetAgeRecommendations ( IEnumerable ageNutrientRecommendations, GenderNutrientRecommendation genderNutrientRecommendation ) : IEnumerable

Method Details

BaseRDIImporter() public method

public BaseRDIImporter ( INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic ) : System.Collections.Generic
nutrientBusinessLogic INutrientBusinessLogic
genderTypeBusinessLogic IGenderTypeBusinessLogic
return System.Collections.Generic

GetGenderNutrientRecommendations() protected method

protected GetGenderNutrientRecommendations ( NutrientRecommendation nutrientRecommendation ) : IEnumerable
nutrientRecommendation CarbonFitness.Data.Model.NutrientRecommendation
return IEnumerable

Import() public method

public Import ( INutrientRecommendationRepository nutrientRecommendationRepository ) : void
nutrientRecommendationRepository INutrientRecommendationRepository
return void

createAgeRecommendation() public method

public createAgeRecommendation ( int startAge, int endAge, decimal value ) : GenderAgeNutrientRecommendation
startAge int
endAge int
value decimal
return CarbonFitness.Data.Model.GenderAgeNutrientRecommendation

getNutrientRecommendation() protected method

protected getNutrientRecommendation ( ) : NutrientRecommendation
return CarbonFitness.Data.Model.NutrientRecommendation

Property Details

ManRecommendations protected property

protected List ManRecommendations
return List

WomanRecommendations protected property

protected List WomanRecommendations
return List