C# Class Adf.Core.Binding.BindManager

Provides functionality to bind a Domain object with a control.
Afficher le fichier Open project: NLADP/ADF

Private Properties

Свойство Type Description
GetKey string

Méthodes publiques

Méthode Description
Bind ( object control, IEnumerable bindableObjects ) : void

Binds the specified DomainObject array to the control provided.

Bind ( object control, IEnumerable bindableObjects, bool isPostback ) : void

Binds the specified DomainObject array to the control provided.

Bind ( object control, object bindableObject ) : void

Binds the specified DomainObject to the control provided.

Bind ( object control, object bindableObject, bool isPostback ) : void

Binds the specified DomainObject to the control provided.

GetListFor ( PropertyInfo property ) : IEnumerable
Persist ( object bindableObject, object control ) : void

Persists the specified DomainObject to the control provided.

RegisterScope ( PropertyInfo property, Func collection ) : void
UnregisterScope ( PropertyInfo property ) : void

Private Methods

Méthode Description
GetKey ( PropertyInfo pi ) : string

Method Details

Bind() public static méthode

Binds the specified DomainObject array to the control provided.
public static Bind ( object control, IEnumerable bindableObjects ) : void
control object Control to bind to.
bindableObjects IEnumerable List of Domain objects to bind.
Résultat void

Bind() public static méthode

Binds the specified DomainObject array to the control provided.
public static Bind ( object control, IEnumerable bindableObjects, bool isPostback ) : void
control object Control to bind to.
bindableObjects IEnumerable List of Domain objects to bind.
isPostback bool True if this is a repeatation.
Résultat void

Bind() public static méthode

Binds the specified DomainObject to the control provided.
public static Bind ( object control, object bindableObject ) : void
control object Control to bind to.
bindableObject object Domain object to bind.
Résultat void

Bind() public static méthode

Binds the specified DomainObject to the control provided.
public static Bind ( object control, object bindableObject, bool isPostback ) : void
control object Control to bind to.
bindableObject object Domain object to bind.
isPostback bool True if this is a repeatation.
Résultat void

GetListFor() public static méthode

public static GetListFor ( PropertyInfo property ) : IEnumerable
property System.Reflection.PropertyInfo
Résultat IEnumerable

Persist() public static méthode

Persists the specified DomainObject to the control provided.
public static Persist ( object bindableObject, object control ) : void
bindableObject object The object to persist.
control object The control where the object will be persisted.
Résultat void

RegisterScope() public static méthode

public static RegisterScope ( PropertyInfo property, Func collection ) : void
property System.Reflection.PropertyInfo
collection Func
Résultat void

UnregisterScope() public static méthode

public static UnregisterScope ( PropertyInfo property ) : void
property System.Reflection.PropertyInfo
Résultat void