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.
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 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
GetSchema()
Declaration
public override IEnumerable<RVSchemaColumn> GetSchema()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<RVSchemaColumn> |