C# Класс CarbonFitness.BusinessLogic.IngredientImporter.Implementation.IngredientParser

Наследование: IIngredientParser
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateIngredientFromFileContents ( string fileContents ) : IList
GetDecimalValue ( int rowIndex, string columns, int columnIndex ) : decimal
IngredientParser ( INutrientBusinessLogic nutrientBusinessLogic ) : System

Приватные методы

Метод Описание
addIngredientNutrient ( Ingredient ingredient, ICollection ingredientNutrients, NutrientEntity entity, decimal value ) : void

Описание методов

CreateIngredientFromFileContents() публичный Метод

public CreateIngredientFromFileContents ( string fileContents ) : IList
fileContents string
Результат IList

GetDecimalValue() публичный Метод

public GetDecimalValue ( int rowIndex, string columns, int columnIndex ) : decimal
rowIndex int
columns string
columnIndex int
Результат decimal

IngredientParser() публичный Метод

public IngredientParser ( INutrientBusinessLogic nutrientBusinessLogic ) : System
nutrientBusinessLogic INutrientBusinessLogic
Результат System