DataSource(String, Object) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.1.Core.dll


public DataSource(
    string name,
    object data


Type Name Description
String name

A String that specifies the name of the data source.

Object data

An object that contains data for the data source.

An object passed as the data parameter should implement the IEnumerable or IListSource interface.