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
contentRetrieverIContentRetrieverContent retriever.
contentTypeNamesIEnumerable<string>Names of the content types defining retrieved results.
parametersRetrievePagesOfContentTypesParametersParameters used to modify retrieval.
additionalQueryConfigurationAction<RetrievePagesOfContentTypesQueryParameters>Action to additionally modify query during retrieval.
cacheSettingsRetrievalCacheSettingsCache setting used to modify caching during retrieval.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel 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
contentRetrieverIContentRetrieverContent retriever.
contentTypeNamesIEnumerable<string>Names of the content types defining retrieved results.
parametersRetrievePagesOfContentTypesParametersParameters used to modify retrieval.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel 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
contentRetrieverIContentRetrieverContent retriever.
contentTypeNamesIEnumerable<string>Names of the content types defining retrieved results.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel of the final retrieved results.