Class RevealDataSources

Class used to represent the list of data sources and items returned by DataSourcesRequested.

Inheritance
System.Object
RevealDataSources
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Reveal.Sdk.Data
Assembly: Reveal.UI.Sdk.dll
Syntax
public class RevealDataSources

Constructors

RevealDataSources(List<RVDashboardDataSource>, List<RVDataSourceItem>, Boolean)

Creates a new data sources result object.

Declaration
public RevealDataSources(List<RVDashboardDataSource> dataSources, List<RVDataSourceItem> dataSourceItems, bool useDataInDashboard)
Parameters
Type Name Description
System.Collections.Generic.List<Reveal.Sdk.Data.RVDashboardDataSource> dataSources

The list of data sources to display, instances of subclasses of Reveal.Sdk.Data.RVDashboardDataSource.

System.Collections.Generic.List<Reveal.Sdk.Data.RVDataSourceItem> dataSourceItems

The list of data source items to display, instances of subclasses of Reveal.Sdk.Data.RVDataSourceItem.

System.Boolean useDataInDashboard

Indicates if data sources already used in the dashboard should be displayed to the user creating a new widget/filter or not.

RevealDataSources(List<Object>, List<Object>, Boolean)

Backward compatible constructor

Declaration
[Obsolete]
public RevealDataSources(List<object> dataSources, List<object> dataSourceItems, bool useDataInDashboard)
Parameters
Type Name Description
System.Collections.Generic.List<System.Object> dataSources
System.Collections.Generic.List<System.Object> dataSourceItems
System.Boolean useDataInDashboard

Properties

DataSourceItems

The list of data source items to display, instances of subclasses of Reveal.Sdk.Data.RVDataSourceItem.

Declaration
public List<RVDataSourceItem> DataSourceItems { get; }
Property Value
Type Description
System.Collections.Generic.List<Reveal.Sdk.Data.RVDataSourceItem>

DataSources

The list of data sources to display, instances of subclasses of Reveal.Sdk.Data.RVDashboardDataSource.

Declaration
public List<RVDashboardDataSource> DataSources { get; }
Property Value
Type Description
System.Collections.Generic.List<Reveal.Sdk.Data.RVDashboardDataSource>

Filter

Declaration
public RVDataSourceItemsFilter Filter { get; set; }
Property Value
Type Description
RVDataSourceItemsFilter

UseDataInDashboard

Indicates if data sources already used in the dashboard should be displayed to the user creating a new widget/filter or not.

Declaration
public bool UseDataInDashboard { get; }
Property Value
Type Description
System.Boolean