Class RVDashboardExtensions

Inheritance
System.Object
RVDashboardExtensions
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
Assembly: Reveal.UI.Sdk.dll
Syntax
public static class RVDashboardExtensions

Methods

GetById(IEnumerable<RVDashboardFilter>, String)

Gets the filter with the given ID.

Declaration
public static RVDashboardFilter GetById(this IEnumerable<RVDashboardFilter> filters, string id)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<RVDashboardFilter> filters
System.String id

The ID of the filter to search for

Returns
Type Description
RVDashboardFilter

The filter with the given ID (case sensitive), null if there's no filter with that ID

GetById(IEnumerable<RVVisualization>, String)

Gets the visualization with the specified ID.

Declaration
public static RVVisualization GetById(this IEnumerable<RVVisualization> visualizations, string id)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<RVVisualization> visualizations
System.String id

The ID of the visualization to search for

Returns
Type Description
RVVisualization

The visualization with the given ID (case sensitive), null if there's no visualization with that ID.

GetByTitle(IEnumerable<RVDashboardFilter>, String)

Gets the first filter with the given title.

Declaration
public static RVDashboardFilter GetByTitle(this IEnumerable<RVDashboardFilter> filters, string title)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<RVDashboardFilter> filters
System.String title

The title of the filter to search for

Returns
Type Description
RVDashboardFilter

The first filter with the given title (case sensitive), null if there's no filter with that title.

GetByTitle(IEnumerable<RVVisualization>, String)

Gets the first visualization with the given title.

Declaration
public static RVVisualization GetByTitle(this IEnumerable<RVVisualization> visualizations, string title)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<RVVisualization> visualizations
System.String title

The title of the visualization to search for

Returns
Type Description
RVVisualization

The first visualization with the given title (case sensitive), null if there's no visualization with that title