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

Inheritance: IIngredientParser
ファイルを表示 Open project: yodiz/CarbonFitness Class Usage Examples

Public Methods

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

Private Methods

Method Description
addIngredientNutrient ( Ingredient ingredient, ICollection ingredientNutrients, NutrientEntity entity, decimal value ) : void

Method Details

CreateIngredientFromFileContents() public method

public CreateIngredientFromFileContents ( string fileContents ) : IList
fileContents string
return IList

GetDecimalValue() public method

public GetDecimalValue ( int rowIndex, string columns, int columnIndex ) : decimal
rowIndex int
columns string
columnIndex int
return decimal

IngredientParser() public method

public IngredientParser ( INutrientBusinessLogic nutrientBusinessLogic ) : System
nutrientBusinessLogic INutrientBusinessLogic
return System