C# Class CarbonFitness.BusinessLogic.IngredientImporter.Implementation.IngredientParser

Inheritance: IIngredientParser
Afficher le fichier Open project: yodiz/CarbonFitness Class Usage Examples

Méthodes publiques

Méthode Description
CreateIngredientFromFileContents ( string fileContents ) : IList
GetDecimalValue ( int rowIndex, string columns, int columnIndex ) : decimal
IngredientParser ( INutrientBusinessLogic nutrientBusinessLogic ) : System

Private Methods

Méthode Description
addIngredientNutrient ( Ingredient ingredient, ICollection ingredientNutrients, NutrientEntity entity, decimal value ) : void

Method Details

CreateIngredientFromFileContents() public méthode

public CreateIngredientFromFileContents ( string fileContents ) : IList
fileContents string
Résultat IList

GetDecimalValue() public méthode

public GetDecimalValue ( int rowIndex, string columns, int columnIndex ) : decimal
rowIndex int
columns string
columnIndex int
Résultat decimal

IngredientParser() public méthode

public IngredientParser ( INutrientBusinessLogic nutrientBusinessLogic ) : System
nutrientBusinessLogic INutrientBusinessLogic
Résultat System