C# Class ZForge.Configuration.Validator

Mostra file Open project: zhuangyy/Motion

Public Methods

Method Description
MergeMessages ( List msgs ) : string
MergeMessages ( List msgs, string title ) : string
ValidateEmailAddress ( List msgs, string name, string value ) : bool
ValidateInt ( List msgs, string name, string value, int min, int max ) : bool
ValidateString ( List msgs, string name, string value ) : bool
ValidateURL ( List msgs, string name, string value ) : bool

Method Details

MergeMessages() public static method

public static MergeMessages ( List msgs ) : string
msgs List
return string

MergeMessages() public static method

public static MergeMessages ( List msgs, string title ) : string
msgs List
title string
return string

ValidateEmailAddress() public static method

public static ValidateEmailAddress ( List msgs, string name, string value ) : bool
msgs List
name string
value string
return bool

ValidateInt() public static method

public static ValidateInt ( List msgs, string name, string value, int min, int max ) : bool
msgs List
name string
value string
min int
max int
return bool

ValidateString() public static method

public static ValidateString ( List msgs, string name, string value ) : bool
msgs List
name string
value string
return bool

ValidateURL() public static method

public static ValidateURL ( List msgs, string name, string value ) : bool
msgs List
name string
value string
return bool