The Gallio.Framework.Data namespace provides a framework for manipulating data from multiple data sources and performing data binding.

Classes

  ClassDescription
AggregateDataSet
Abstract base class for an aggregate data set that combines a list of data sets according to some algorithm.
BaseDataAccessor
A base implementation of IDataAccessor that performs argument validation.
BaseDataBinder
Abstract base class for IDataBinder that validates input arguments before passing them on to the implementation.
BaseDataItem
Abstract base class for data items.
BaseDataSet
Abstract base class for IDataSet that validates input arguments before passing them on to the implementation.
BoundDataAccessor
A IDataAccessor that simply accesses a value contained by a data item using a particular DataBinding.
CombinatorialJoinStrategy
The combinatorial join strategy combines items by constructing the cartesian product of the items of each provider.
ConcatenationMergeStrategy
The concatenation merge strategy combines the items from multiple providers by simply concatenating the items in the order in which they appear and proceeding from one provider to the next until all providers have been fully processed.
ConstantDataAccessor
An implementation of IDataAccessor that returns a constant value, ignoring the data item it is passed.
CsvDataSet
A CSV data set retrieves fields from a CSV document as strings.
CsvReader
Reads data from a Comma Separated Values document.
DataBinding
A data binding object describes how a data binding is to take place.
DataBindingContext
A DataBindingContext tracks a list of IDataSets and DataBindings that are used to produce IDataItems.
DataBindingException
The type of exception thrown when data binding operations fail.
DataBindingSpec
A data binding specification describes how values are bound to slots (ISlotInfo) of a type or method. The specification can then be used to create new objects or invoke methods.
DataItemUtils
Utilities for IDataItem.
DataRow
A data row is a simple immutable value type that encpasulates an array of values along with associated metadata for use in data binding expressions. It presents a fluent interface that users may find more convenient than other IDataItem implementations.
DataSource
An data source object provides a simple way of aggregating data sets together. It also provides a simple translation mechanism for mapping binding paths to binding indexes which is useful for providing named aliases for columns in indexed data sets.
DataSourceTable
A data source table manages a collection of named data sources.
FactoryDataSet
A factory data set generates data items by invoking a factory delegate and interpreting its output in accordance with the factory kind.
IntersectionMergeStrategy
The intersection merge strategy combines the items from multiple providers by discarding items whose values do not appear in the items of all other providers.
ItemSequenceDataSet
A data set constructed from a sequence of data items.
JoinedDataSet
A joined data set is an aggregate data set that joins items from each of zero or more other data sets according to a IJoinStrategy.
ListDataItem<(Of <(T>)>)
A list data item contains a list of static data values combined with optional metadata for the item. Data binding occurs based on the binding index alone.
MergedDataSet
A merged data set is an aggregate data set that selects items from each of zero or more other data sets according to a IMergeStrategy.
MethodInvocationSpec
Encapsulates a specification for invoking a method given values for its generic parameters and formal parameters.
NullDataItem
A null data item simply returns a null value on each request. It has no metadata.
ObjectCreationSpec
Encapsulates a specification for creating objects given values for a type's generic parameters, constructor parameters, fields and properties.
ObjectDataBinder
An object data binder creates objects and binds values to its slots such as generic type parameters, constructor parameters, fields and properties.
PairwiseJoinStrategy
The pairwise strategy constructs a limited number of combinations of the items within the data providers such that they cover all possible pairs of values from each data source.
ScalarDataBinder
A scalar data binder queries a specified data source with a data binding and converts the resulting value to the requested type. It does nothing during unbinding.
ScalarDataItem<(Of <(T>)>)
A scalar data item represents a single static data value combined with optional metadata for the item. Data binding occurs whenever the binding index is 0.
SequentialJoinStrategy
The sequential join strategy combines items from each data provider sequentially. If one provider contains fewer items than the others, the sequential join strategy will insert a NullDataItem in its place until all other providers have been exhausted. This is similar to performing an "outer join" of multiple sources by ordinal index.
SimpleDataItem
An implementation of IDataItem that stores the dynamic flag and metadata.
TestParameterDataBinding
Describes a data binding that binds to a test parameter.
UnionMergeStrategy
The union merge strategy combines the items from multiple providers by discarding all items whose values duplicate those of other items that have already been enumerated.
ValueSequenceDataSet
A data set constructed from an enumerated sequence of values.
XmlDataSet
An XML data set selects nodes from an XML document using XPath expressions. The selected nodes are returned as XPathNavigator objects.

Interfaces

  InterfaceDescription
IDataAccessor
A data accessor extracts a value from a IDataItem.
IDataBinder
A data binder specifies how to produce values that are suitable for data binding in some context.
IDataItem
A data item is an opaque representation of a collection of values and metadata that may be retrieved using data bindings that encode the appropriate lookup rules into the item.
IDataProvider
A data provider generates an enumeration of IDataItems given a collection of DataBindings to satisfy.
IDataSet
A data set provides data items for data binding and describes whether is supports particular bindings.
IDataSourceResolver
Resolves data sources by name.
IJoinStrategy
A join strategy combines items from multiple providers into products according to some algorithm.
IMergeStrategy
A merge strategy combines items from multiple providers into a sequence according to some algorithm.

Enumerations

  EnumerationDescription
FactoryKind
Specifies the kind of factory member referenced by FactoryDataSet.