C# Class BlueCollar.Examples.Mvc.Models.HomeIndex

Provides model data for Home/Index.
Mostrar archivo Open project: ChadBurggraf/blue-collar Class Usage Examples

Public Methods

Method Description
CssClassForLogLevel ( string level ) : string

Gets the CSS class to use for the given log level text.

Fill ( ModelStateDictionary modelState, bool isPostBack ) : bool

Fills the model with data.

Method Details

CssClassForLogLevel() public static method

Gets the CSS class to use for the given log level text.
public static CssClassForLogLevel ( string level ) : string
level string The log level text to get the CSS class for.
return string

Fill() public method

Fills the model with data.
public Fill ( ModelStateDictionary modelState, bool isPostBack ) : bool
modelState ModelStateDictionary The to add errors to.
isPostBack bool A value indicating whether the fill is taking place during a post-back.
return bool