C# Class Core.Forms.Helpers.FormsHelper

Mostra file Open project: coreframework/Core-Framework

Public Methods

Method Description
UpdateFormElement ( FormElementViewModel model ) : FormElementViewModel

Updates the form element.

UpdateFormElementsPositions ( long formElementId, ICorePrincipal user, Int32 orderNumber ) : void

Updates the form elements positions.

ValidateForm ( FormViewModel model, ModelStateDictionary modelState ) : void

Validates the form model.

ValidateFormElement ( FormElementViewModel model, ModelStateDictionary modelState ) : void

Validates the form element.

Method Details

UpdateFormElement() public static method

Updates the form element.
public static UpdateFormElement ( FormElementViewModel model ) : FormElementViewModel
model FormElementViewModel The model.
return FormElementViewModel

UpdateFormElementsPositions() public static method

Updates the form elements positions.
public static UpdateFormElementsPositions ( long formElementId, ICorePrincipal user, Int32 orderNumber ) : void
formElementId long The form element id.
user ICorePrincipal The user.
orderNumber System.Int32 The order number.
return void

ValidateForm() public static method

Validates the form model.
public static ValidateForm ( FormViewModel model, ModelStateDictionary modelState ) : void
model FormViewModel The model.
modelState ModelStateDictionary State of the model.
return void

ValidateFormElement() public static method

Validates the form element.
public static ValidateFormElement ( FormElementViewModel model, ModelStateDictionary modelState ) : void
model FormElementViewModel The model.
modelState ModelStateDictionary State of the model.
return void