Skip to main content

DataSource(String, Object) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

Declaration

public DataSource(
    string name,
    object data
)

Parameters

Name Type Description
name String

A String that specifies the name of the data source.

data Object

An object that contains data for the data source.

Remarks

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

See Also