C# 클래스 Signum.Web.ModelStateExtensions

파일 보기 프로젝트 열기: signumsoftware/framework

공개 메소드들

메소드 설명
AddModelError ( this modelState, string key, string errorMessage, string attemptedValue ) : void
FromContext ( this modelState, MappingContext context, bool append = false ) : void
FromDictionary ( this modelState, Dictionary errors, NameValueCollection form, bool append = false ) : void

메소드 상세

AddModelError() 공개 정적인 메소드

public static AddModelError ( this modelState, string key, string errorMessage, string attemptedValue ) : void
modelState this
key string
errorMessage string
attemptedValue string
리턴 void

FromContext() 공개 정적인 메소드

public static FromContext ( this modelState, MappingContext context, bool append = false ) : void
modelState this
context MappingContext
append bool
리턴 void

FromDictionary() 공개 정적인 메소드

public static FromDictionary ( this modelState, Dictionary errors, NameValueCollection form, bool append = false ) : void
modelState this
errors Dictionary
form System.Collections.Specialized.NameValueCollection
append bool
리턴 void