C# Класс Adf.Core.Binding.BindManager

Provides functionality to bind a Domain object with a control.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetKey string

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

Метод Описание
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

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

Метод Описание
GetKey ( PropertyInfo pi ) : string

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

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void

GetListFor() публичный статический Метод

public static GetListFor ( PropertyInfo property ) : IEnumerable
property System.Reflection.PropertyInfo
Результат IEnumerable

Persist() публичный статический Метод

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.
Результат void

RegisterScope() публичный статический Метод

public static RegisterScope ( PropertyInfo property, Func collection ) : void
property System.Reflection.PropertyInfo
collection Func
Результат void

UnregisterScope() публичный статический Метод

public static UnregisterScope ( PropertyInfo property ) : void
property System.Reflection.PropertyInfo
Результат void