FormValidator Constructor (HttpInputBase, NameValueCollection, )

HttpServer.dll

Initializes a new instance of the FormValidator class

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public FormValidator(
	HttpInputBase form,
	NameValueCollection errors,
	LanguageNode modelLanguage
)
Visual Basic (Declaration)
Public Sub New ( _
	form As HttpInputBase, _
	errors As NameValueCollection, _
	modelLanguage As LanguageNode _
)
Visual C++
public:
FormValidator(
	HttpInputBase^ form, 
	NameValueCollection^ errors, 
	LanguageNode^ modelLanguage
)

Parameters

form
Type: HttpServer..::.HttpInputBase
form that validation should be made on.
errors
Type: System.Collections.Specialized..::.NameValueCollection
collection that all validation errors are added to.
modelLanguage
Type: LanguageNode
Language category used to translate field names.

See Also