C# 클래스 Adf.Web.Binding.WebBinder

Represents a binder which binds a System.Web.UI.Control with an object or a list of objects. Provides methods to bind a System.Web.UI.Control with an object, an array of objects, a list of objects etc.
상속: IPlatformBinder
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
Bind ( object control, IEnumerable bindableObjects, bool isPostback ) : void

Binds the specified list of business objects to the specified System.Web.UI.Control or its child System.Web.UI.Control using its list of control binders.

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

Binds the specified business object to the specified System.Web.UI.Control or its child System.Web.UI.Control.

Persist ( object bindableObject, object control ) : void

Persists the data of the specified System.Web.UI.Control to the specified business object.

WebBinder ( ) : System.Collections

Initializes an instance of the Adf.Web.Binding.WebBinder class.

비공개 메소드들

메소드 설명
AddBinder ( IControlBinder controlBinder ) : void

Adds the specified control binder to its collection of control binders.

AddPersister ( IControlPersister controlPersister ) : void

Adds the specified control persister to the collection of control persisters.

BindToArray ( Control c, object bindableObjects, Dictionary controlBinders ) : void

Binds the specified array of business objects to the specified System.Web.UI.Control or its child System.Web.UI.Control using the specified list of control binders.

BindToList ( Control c, IEnumerable bindableObjects, Dictionary controlBinders ) : void

Binds the specified list of business objects to the specified System.Web.UI.Control or its child System.Web.UI.Control using the specified list of control binders.

BindToObject ( Control c, object bindableObject, Dictionary controlBinders, object p ) : void

Binds the specified business object to the specified System.Web.UI.Control or its child System.Web.UI.Control using the specified list of control binders.

GetValue ( object bindableObject, PropertyInfo pi ) : object

Gets the value of the specified property of the specified business object.

메소드 상세

Bind() 공개 메소드

Binds the specified list of business objects to the specified System.Web.UI.Control or its child System.Web.UI.Control using its list of control binders.
public Bind ( object control, IEnumerable bindableObjects, bool isPostback ) : void
control object The or the child /// of which is to bind to.
bindableObjects IEnumerable The list of business objects to bind.
isPostback bool The value indicating whether this is a repeatation.
리턴 void

Bind() 공개 메소드

Binds the specified business object to the specified System.Web.UI.Control or its child System.Web.UI.Control.
public Bind ( object control, object bindableObject, bool isPostback ) : void
control object The or the child /// of which is to bind to.
bindableObject object The business object to bind.
isPostback bool The value indicating whether this is a repeatation.
리턴 void

Persist() 공개 메소드

Persists the data of the specified System.Web.UI.Control to the specified business object.
public Persist ( object bindableObject, object control ) : void
bindableObject object The business object where to persist.
control object The , the data of which is to persist.
리턴 void

WebBinder() 공개 메소드

Initializes an instance of the Adf.Web.Binding.WebBinder class.
public WebBinder ( ) : System.Collections
리턴 System.Collections