C# Class Adf.Core.Binding.BindManager

Provides functionality to bind a Domain object with a control.
Datei anzeigen Open project: NLADP/ADF

Private Properties

Property Type Description
GetKey string

Public Methods

Method 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

Method Description
GetKey ( PropertyInfo pi ) : string

Method Details

Bind() public static method

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.
return void

Bind() public static method

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.
return void

Bind() public static method

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.
return void

Bind() public static method

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.
return void

GetListFor() public static method

public static GetListFor ( PropertyInfo property ) : IEnumerable
property System.Reflection.PropertyInfo
return IEnumerable

Persist() public static method

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.
return void

RegisterScope() public static method

public static RegisterScope ( PropertyInfo property, Func collection ) : void
property System.Reflection.PropertyInfo
collection Func
return void

UnregisterScope() public static method

public static UnregisterScope ( PropertyInfo property ) : void
property System.Reflection.PropertyInfo
return void