[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.ReportsCore.Data.DataProviders.DataProviderFactories.Get

Get Method

Get(IEnumerable<DataProviderInfo>, string)

Gets the DataProviderInfo with the specified invariant name from the collection.

Declaration
public static DataProviderInfo Get(this IEnumerable<DataProviderInfo> dataProviders, string name)
Parameters
Type Name Description
IEnumerable<DataProviderInfo> dataProviders

The collection of data provider configurations to search.

string name

The invariant name of the data provider to find.

Returns
Type Description
DataProviderInfo

The matching DataProviderInfo, or default if not found.