C# Class Spontaneous.WebApp.Services.CarbohydratesVerification.UserMealProfileFactory

Datei anzeigen Open project: pashkov/Spontaneous Class Usage Examples

Public Methods

Method Description
CreaeteFromMealAndUserData ( Meal userMeal, string userName, SpontaneousUserModel userData ) : UserMealProfile
IfValidParameters ( Meal userMeal, string userName, SpontaneousUserModel userData ) : bool
SaveDataInUserMealProfile ( Meal userMeal, string userName, SpontaneousUserModel userData ) : void

Method Details

CreaeteFromMealAndUserData() public method

public CreaeteFromMealAndUserData ( Meal userMeal, string userName, SpontaneousUserModel userData ) : UserMealProfile
userMeal Spontaneous.DataModel.Meal
userName string
userData Spontaneous.DataModel.SpontaneousUserModel
return Spontaneous.DataModel.UserMealProfile

IfValidParameters() public method

public IfValidParameters ( Meal userMeal, string userName, SpontaneousUserModel userData ) : bool
userMeal Spontaneous.DataModel.Meal
userName string
userData Spontaneous.DataModel.SpontaneousUserModel
return bool

SaveDataInUserMealProfile() public method

public SaveDataInUserMealProfile ( Meal userMeal, string userName, SpontaneousUserModel userData ) : void
userMeal Spontaneous.DataModel.Meal
userName string
userData Spontaneous.DataModel.SpontaneousUserModel
return void