Table of Contents

Method GetDataSource

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

GetDataSource(string)

Retrieves a registered DataSource by its identifier.

public DataSource GetDataSource(string dataSourceIdentifier)

Parameters

dataSourceIdentifier string

The unique identifier of the DataSource to retrieve.

Returns

DataSource

The DataSource with the specified identifier.

Exceptions

ArgumentNullException

Thrown if dataSourceIdentifier is null, empty, or whitespace.

KeyNotFoundException

Thrown if no DataSource with the specified identifier is found.