Class RVInMemoryData<T>

In-memory data implementation that returns data from the IEnumerable object passed to the constructor, this is the recommended implementation of IRVInMemoryData to use in most of the use cases, as it's the simpler to use. The schema will be automatically calculated from the T data type.

Inheritance
System.Object
RVInMemoryData<T>
Implements
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class RVInMemoryData<T> : RVInMemoryData, IRVInMemoryData, IRVInMemoryDataProvider
Type Parameters
Name Description
T

The type that will be used for rows in this in-memory data, the schema will be automatically populated using the public properties in this type

Constructors

RVInMemoryData(IEnumerable<T>)

Constructor that receives the IEnumerable object with the data for this in-memory data table.

Declaration
public RVInMemoryData(IEnumerable<T> data)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> data

The IEnumerable object that will return rows for this data table

Methods

GetData()

Declaration
public override IEnumerable<IEnumerable<object>> GetData()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Object>>
Overrides
RVInMemoryData.GetData()

GetSchema()

Declaration
public override IEnumerable<RVSchemaColumn> GetSchema()
Returns
Type Description
System.Collections.Generic.IEnumerable<RVSchemaColumn>
Overrides
RVInMemoryData.GetSchema()

Implements

IRVInMemoryData
IRVInMemoryDataProvider