Class DataConnectorAdapter
- Namespace
- Datafication.Core.Adapters
- Assembly
- Datafication.Core.dll
Provides an adapter for the IDataConnector interface. Facilitates interaction between the DataManager and underlying data connectors by possibly allowing for extended or alternative functionality in the future.
public class DataConnectorAdapter
- Inheritance
-
objectDataConnectorAdapter
Constructors
DataConnectorAdapter(IDataConnector)
Initializes a new instance of the DataConnectorAdapter class with a specified data connector.
public DataConnectorAdapter(IDataConnector dataConnector)
Parameters
dataConnectorIDataConnectorThe data connector to be used by the adapter.
Methods
FetchDataAsync()
Asynchronously fetches data using the underlying data connector, providing a bridge between the DataManager's request and the data connector's operation.
public Task<DataBlock> FetchDataAsync()