C# Класс FubuFastPack.Crud.EditEntityModelBinder

Наследование: IModelBinder
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Bind ( Type inputModelType, IBindingContext context ) : object
Bind ( Type type, object instance, IBindingContext context ) : void
EditEntityModelBinder ( IEntityDefaults entityDefaults ) : System
Matches ( Type type ) : bool

Приватные методы

Метод Описание
createNewEntity ( Type entityType, IBindingContext context ) : FubuFastPack.Domain.DomainEntity
tryFindExistingEntity ( Type entityType, IBindingContext context ) : FubuFastPack.Domain.DomainEntity

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

Bind() публичный Метод

public Bind ( Type inputModelType, IBindingContext context ) : object
inputModelType System.Type
context IBindingContext
Результат object

Bind() публичный Метод

public Bind ( Type type, object instance, IBindingContext context ) : void
type System.Type
instance object
context IBindingContext
Результат void

EditEntityModelBinder() публичный Метод

public EditEntityModelBinder ( IEntityDefaults entityDefaults ) : System
entityDefaults IEntityDefaults
Результат System

Matches() публичный Метод

public Matches ( Type type ) : bool
type System.Type
Результат bool