C# 클래스 BlueCollar.Examples.Mvc.Models.HomeIndex

Provides model data for Home/Index.
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

CssClassForLogLevel() 공개 정적인 메소드

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.
리턴 string

Fill() 공개 메소드

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.
리턴 bool