C# Class CarbonFitness.App.Web.Controllers.ViewTypeConverters.GraphLineOptionViewTypeConverter

Inheritance: IGraphLineOptionViewTypeConverter
ファイルを表示 Open project: yodiz/CarbonFitness

Public Methods

Method Description
GetNutrientEntitys ( string graphLineOptionValue ) : NutrientEntity[]
GetViewTypes ( User user ) : IEnumerable
GraphLineOptionViewTypeConverter ( INutrientBusinessLogic nutrientBusinessLogic, INutrientTranslator nutrientTranslator ) : System
shouldShowWeight ( string graphLineOptions ) : bool

Private Methods

Method Description
addGraphlineOption ( string name, string value, ICollection nutrientOptions ) : void

Method Details

GetNutrientEntitys() public method

public GetNutrientEntitys ( string graphLineOptionValue ) : NutrientEntity[]
graphLineOptionValue string
return NutrientEntity[]

GetViewTypes() public method

public GetViewTypes ( User user ) : IEnumerable
user CarbonFitness.Data.Model.User
return IEnumerable

GraphLineOptionViewTypeConverter() public method

public GraphLineOptionViewTypeConverter ( INutrientBusinessLogic nutrientBusinessLogic, INutrientTranslator nutrientTranslator ) : System
nutrientBusinessLogic INutrientBusinessLogic
nutrientTranslator INutrientTranslator
return System

shouldShowWeight() public method

public shouldShowWeight ( string graphLineOptions ) : bool
graphLineOptions string
return bool