C# Класс Core.Forms.Helpers.FormsHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

UpdateFormElement() публичный статический Метод

Updates the form element.
public static UpdateFormElement ( FormElementViewModel model ) : FormElementViewModel
model FormElementViewModel The model.
Результат FormElementViewModel

UpdateFormElementsPositions() публичный статический Метод

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.
Результат void

ValidateForm() публичный статический Метод

Validates the form model.
public static ValidateForm ( FormViewModel model, ModelStateDictionary modelState ) : void
model FormViewModel The model.
modelState ModelStateDictionary State of the model.
Результат void

ValidateFormElement() публичный статический Метод

Validates the form element.
public static ValidateFormElement ( FormElementViewModel model, ModelStateDictionary modelState ) : void
model FormElementViewModel The model.
modelState ModelStateDictionary State of the model.
Результат void