Class RetrievePagesOfContentTypesExtensions
public static class RetrievePagesOfContentTypesExtensions
- Inheritance
-
objectRetrievePagesOfContentTypesExtensions
Methods
RetrievePagesOfContentTypes<TResult>(IContentRetriever, IEnumerable<string>, RetrievePagesOfContentTypesParameters, Action<RetrievePagesOfContentTypesQueryParameters>, RetrievalCacheSettings, CancellationToken)
Retrieves web pages of content types specified by contentTypeNames
.
public static Task<IEnumerable<TResult>> RetrievePagesOfContentTypes<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> contentTypeNames, RetrievePagesOfContentTypesParameters parameters, Action<RetrievePagesOfContentTypesQueryParameters> additionalQueryConfiguration, RetrievalCacheSettings cacheSettings, CancellationToken cancellationToken = default)
Parameters
contentRetriever
IContentRetrieverContent retriever.
contentTypeNames
IEnumerable<string>Names of the content types defining retrieved results.
parameters
RetrievePagesOfContentTypesParametersParameters used to modify retrieval.
additionalQueryConfiguration
Action<RetrievePagesOfContentTypesQueryParameters>Action to additionally modify query during retrieval.
cacheSettings
RetrievalCacheSettingsCache setting used to modify caching during retrieval.
cancellationToken
CancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResult
Model of the final retrieved results.
RetrievePagesOfContentTypes<TResult>(IContentRetriever, IEnumerable<string>, RetrievePagesOfContentTypesParameters, CancellationToken)
Retrieves web pages of content types specified by contentTypeNames
.
public static Task<IEnumerable<TResult>> RetrievePagesOfContentTypes<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> contentTypeNames, RetrievePagesOfContentTypesParameters parameters, CancellationToken cancellationToken = default)
Parameters
contentRetriever
IContentRetrieverContent retriever.
contentTypeNames
IEnumerable<string>Names of the content types defining retrieved results.
parameters
RetrievePagesOfContentTypesParametersParameters used to modify retrieval.
cancellationToken
CancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResult
Model of the final retrieved results.
RetrievePagesOfContentTypes<TResult>(IContentRetriever, IEnumerable<string>, CancellationToken)
Retrieves web pages of content types specified by contentTypeNames
.
public static Task<IEnumerable<TResult>> RetrievePagesOfContentTypes<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> contentTypeNames, CancellationToken cancellationToken = default)
Parameters
contentRetriever
IContentRetrieverContent retriever.
contentTypeNames
IEnumerable<string>Names of the content types defining retrieved results.
cancellationToken
CancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResult
Model of the final retrieved results.