C# Класс Xnlab.SQLMon.Controls.OutlookGrid.DataSourceManager

the DataDourceManager class is a wrapper class around different types of datasources. in this case the DataSet, object list using reflection and the OutlooGridRow objects are supported by this class. Basically the DataDourceManager works like a facade that provides access in a uniform way to the datasource. Note: this class is not implemented optimally. It is merely used for demonstration purposes
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Columns System.Collections.ArrayList
Rows System.Collections.ArrayList

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

Метод Описание
DataSourceManager ( object dataSource, string dataMember ) : System.Collections
Sort ( IComparer comparer ) : void

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

Метод Описание
InitDataSet ( ) : void
InitGrid ( ) : void
InitList ( ) : void
InitManager ( ) : void

this function initializes the DataSourceManager's internal state. it will analyse the datasource taking the following source into account: - DataSet - Object array (must implement IList) - OutlookGrid

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

DataSourceManager() публичный Метод

public DataSourceManager ( object dataSource, string dataMember ) : System.Collections
dataSource object
dataMember string
Результат System.Collections

Sort() публичный Метод

public Sort ( IComparer comparer ) : void
comparer IComparer
Результат void

Описание свойств

Columns публичное свойство

public ArrayList,System.Collections Columns
Результат System.Collections.ArrayList

Rows публичное свойство

public ArrayList,System.Collections Rows
Результат System.Collections.ArrayList