C# Class FubuFastPack.Crud.EditEntityModelBinder

Inheritance: IModelBinder
Afficher le fichier Open project: DarthFubuMVC/FubuFastPack Class Usage Examples

Méthodes publiques

Méthode Description
Bind ( Type inputModelType, IBindingContext context ) : object
Bind ( Type type, object instance, IBindingContext context ) : void
EditEntityModelBinder ( IEntityDefaults entityDefaults ) : System
Matches ( Type type ) : bool

Private Methods

Méthode Description
createNewEntity ( Type entityType, IBindingContext context ) : FubuFastPack.Domain.DomainEntity
tryFindExistingEntity ( Type entityType, IBindingContext context ) : FubuFastPack.Domain.DomainEntity

Method Details

Bind() public méthode

public Bind ( Type inputModelType, IBindingContext context ) : object
inputModelType System.Type
context IBindingContext
Résultat object

Bind() public méthode

public Bind ( Type type, object instance, IBindingContext context ) : void
type System.Type
instance object
context IBindingContext
Résultat void

EditEntityModelBinder() public méthode

public EditEntityModelBinder ( IEntityDefaults entityDefaults ) : System
entityDefaults IEntityDefaults
Résultat System

Matches() public méthode

public Matches ( Type type ) : bool
type System.Type
Résultat bool