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

Provides model data for Home/Index.
Afficher le fichier Open project: ChadBurggraf/blue-collar Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat string

Fill() public méthode

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.
Résultat bool