ElmaModelBinder - класс |
Пространство имён: EleWise.ELMA.Web.Mvc
public class ElmaModelBinder : DefaultModelBinder
Тип ElmaModelBinder предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| ElmaModelBinder | Инициализирует новый экземпляр класса ElmaModelBinder |
| Имя | Описание | |
|---|---|---|
| _metadataRuntimeService | ||
| _securityService | ||
| Binders | Gets or sets the model binders for the application. (Унаследован от DefaultModelBinder.) | |
| MetadataRuntimeService | ||
| ResetTablePartNewItemIds |
Обнулять ли идентификаторы новых записей блоков при биндинге (по умолчанию true). Запоминается для текущего запроса.
| |
| securityService |
| Имя | Описание | |
|---|---|---|
| BindEntityTablePart | ||
| BindModel | (Переопределяет DefaultModelBinder.BindModel(ControllerContext, ModelBindingContext).) | |
| BindProperty | (Переопределяет DefaultModelBinder.BindProperty(ControllerContext, ModelBindingContext, PropertyDescriptor).) | |
| CreateModel | (Переопределяет DefaultModelBinder.CreateModel(ControllerContext, ModelBindingContext, Type).) | |
| FindType | ||
| GetFilteredModelProperties | Returns a set of properties that match the property filter restrictions that are established by the specified binding context. (Унаследован от DefaultModelBinder.) | |
| GetModelProperties | Returns the properties of the model by using the specified controller context and binding context. (Переопределяет DefaultModelBinder.GetModelProperties(ControllerContext, ModelBindingContext).) | |
| GetPrefix | ||
| GetPropertyValue | Returns the value of a property using the specified controller context, binding context, property descriptor, and property binder. (Унаследован от DefaultModelBinder.) | |
| GetTypeDescriptor | Returns the descriptor object for a type that is specified by its controller context and binding context. (Переопределяет DefaultModelBinder.GetTypeDescriptor(ControllerContext, ModelBindingContext).) | |
| OnModelUpdated | (Переопределяет DefaultModelBinder.OnModelUpdated(ControllerContext, ModelBindingContext).) | |
| OnModelUpdating | (Переопределяет DefaultModelBinder.OnModelUpdating(ControllerContext, ModelBindingContext).) | |
| OnPropertyValidated | Called when the specified property is validated. (Унаследован от DefaultModelBinder.) | |
| OnPropertyValidating | Called when the specified property is validating. (Унаследован от DefaultModelBinder.) | |
| SetProperty | Sets the specified property by using the specified controller context, binding context, and property value. (Переопределяет DefaultModelBinder.SetProperty(ControllerContext, ModelBindingContext, PropertyDescriptor, Object).) | |
| SetTablePartParent |
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |