Lire en anglais Modifier

Partager via


DataProviderBase<TConfig,TSchema> Class

Definition

Base class for data providers in this library.

C#
public abstract class DataProviderBase<TConfig,TSchema> : Microsoft.Toolkit.Services.DataProviderBase<TConfig> where TSchema : SchemaBase

Type Parameters

TConfig

Strong typed query configuration object.

TSchema

Strong typed object to parse the response items into.

Inheritance
DataProviderBase<TConfig,TSchema>
Derived

Constructors

Methods

GetDataAsync<TSchema>(TConfig, Int32, Int32, IParser<TSchema>)

Derived classes will have to implement this method to return provider data

(Inherited from DataProviderBase<TConfig>)
GetDefaultParser(TConfig)

Default parser abstract method.

LoadDataAsync(TConfig, Int32, Int32)

Load data from provider endpoint.

LoadDataAsync<TSchema>(TConfig, Int32, Int32, IParser<TSchema>)

Load data from provider endpoint.

(Inherited from DataProviderBase<TConfig>)
ValidateConfig(TConfig)

Method provided by derived class to validate specified configuration

(Inherited from DataProviderBase<TConfig>)

Applies to

Produit Versions
Windows Community Toolkit 6.1.1