Class RetrieveContentOfReusableSchemasByGuidsExtensions
Extension methods for IContentRetriever allowing to retrieve content items of specified reusable schemas by their GUIDs.
public static class RetrieveContentOfReusableSchemasByGuidsExtensions
- Inheritance
-
objectRetrieveContentOfReusableSchemasByGuidsExtensions
Methods
RetrieveContentOfReusableSchemasByGuids<TResult>(IContentRetriever, IEnumerable<string>, IEnumerable<Guid>, RetrieveContentOfReusableSchemasParameters, Action<RetrieveContentOfReusableSchemasQueryParameters>, RetrievalCacheSettings, Func<IContentQueryDataContainer, TResult, Task<TResult>>, CancellationToken)
Retrieves content items of content types specified by reusableSchemaNames and GUIDs.
public static Task<IEnumerable<TResult>> RetrieveContentOfReusableSchemasByGuids<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> reusableSchemaNames, IEnumerable<Guid> contentItemGuids, RetrieveContentOfReusableSchemasParameters parameters, Action<RetrieveContentOfReusableSchemasQueryParameters> additionalQueryConfiguration, RetrievalCacheSettings cacheSettings, Func<IContentQueryDataContainer, TResult, Task<TResult>> configureModel, CancellationToken cancellationToken = default)
Parameters
contentRetrieverIContentRetrieverContent retriever.
reusableSchemaNamesIEnumerable<string>Names of the reusable schemas defining retrieved results.
contentItemGuidsIEnumerable<Guid>GUID identifiers of content items.
parametersRetrieveContentOfReusableSchemasParametersParameters used to modify retrieval.
additionalQueryConfigurationAction<RetrieveContentOfReusableSchemasQueryParameters>Action to additionally modify query during retrieval.
cacheSettingsRetrievalCacheSettingsCache setting used to modify caching during retrieval.
configureModelFunc<IContentQueryDataContainer, TResult, Task<TResult>>Function providing additional configuration for the resulting
TResultinstance based on content query data container.cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel of the final retrieved results.
RetrieveContentOfReusableSchemasByGuids<TResult>(IContentRetriever, IEnumerable<string>, IEnumerable<Guid>, RetrieveContentOfReusableSchemasParameters, Action<RetrieveContentOfReusableSchemasQueryParameters>, RetrievalCacheSettings, CancellationToken)
Retrieves content items of content types specified by reusableSchemaNames and GUIDs.
public static Task<IEnumerable<TResult>> RetrieveContentOfReusableSchemasByGuids<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> reusableSchemaNames, IEnumerable<Guid> contentItemGuids, RetrieveContentOfReusableSchemasParameters parameters, Action<RetrieveContentOfReusableSchemasQueryParameters> additionalQueryConfiguration, RetrievalCacheSettings cacheSettings, CancellationToken cancellationToken = default)
Parameters
contentRetrieverIContentRetrieverContent retriever.
reusableSchemaNamesIEnumerable<string>Names of the reusable schemas defining retrieved results.
contentItemGuidsIEnumerable<Guid>GUID identifiers of content items.
parametersRetrieveContentOfReusableSchemasParametersParameters used to modify retrieval.
additionalQueryConfigurationAction<RetrieveContentOfReusableSchemasQueryParameters>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.
RetrieveContentOfReusableSchemasByGuids<TResult>(IContentRetriever, IEnumerable<string>, IEnumerable<Guid>, RetrieveContentOfReusableSchemasParameters, CancellationToken)
Retrieves content items of content types specified by reusableSchemaNames and GUIDs.
public static Task<IEnumerable<TResult>> RetrieveContentOfReusableSchemasByGuids<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> reusableSchemaNames, IEnumerable<Guid> contentItemGuids, RetrieveContentOfReusableSchemasParameters parameters, CancellationToken cancellationToken = default)
Parameters
contentRetrieverIContentRetrieverContent retriever.
reusableSchemaNamesIEnumerable<string>Names of the reusable schemas defining retrieved results.
contentItemGuidsIEnumerable<Guid>GUID identifiers of content items.
parametersRetrieveContentOfReusableSchemasParametersParameters used to modify retrieval.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel of the final retrieved results.
RetrieveContentOfReusableSchemasByGuids<TResult>(IContentRetriever, IEnumerable<string>, IEnumerable<Guid>, CancellationToken)
Retrieves content items of content types specified by reusableSchemaNames and GUIDs.
public static Task<IEnumerable<TResult>> RetrieveContentOfReusableSchemasByGuids<TResult>(this IContentRetriever contentRetriever, IEnumerable<string> reusableSchemaNames, IEnumerable<Guid> contentItemGuids, CancellationToken cancellationToken = default)
Parameters
contentRetrieverIContentRetrieverContent retriever.
reusableSchemaNamesIEnumerable<string>Names of the reusable schemas defining retrieved results.
contentItemGuidsIEnumerable<Guid>GUID identifiers of content items.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IEnumerable<TResult>>
Type Parameters
TResultModel of the final retrieved results.