Interface IWebPageFolderRetriever
Interface for retrieving web page folders.
public interface IWebPageFolderRetriever
- Extension Methods
Methods
Retrieve(string, PathMatch, Action<DataQuerySettings>, CancellationToken)
Retrieves folders on path specified in pathMatch on the website channel with the name websiteName.
Task<IEnumerable<WebPageFolder>> Retrieve(string websiteName, PathMatch pathMatch, Action<DataQuerySettings> queryOptions = null, CancellationToken cancellationToken = default)
Parameters
websiteNamestringName of the website channel.
pathMatchPathMatchWeb page tree path for which the query should be limited.
queryOptionsAction<DataQuerySettings>Settings to further constraint the query.
cancellationTokenCancellationTokenThe cancellation instruction.
Returns
- Task<IEnumerable<WebPageFolder>>
Retrieve(string, PathMatch[], Action<DataQuerySettings>, CancellationToken)
Retrieves folders on paths specified in pathMatches on the website channel with the name websiteName.
Task<IEnumerable<WebPageFolder>> Retrieve(string websiteName, PathMatch[] pathMatches, Action<DataQuerySettings> queryOptions = null, CancellationToken cancellationToken = default)
Parameters
websiteNamestringName of the website channel.
pathMatchesPathMatch[]Web page tree paths for which the query should be limited.
queryOptionsAction<DataQuerySettings>Settings to further constraint the query.
cancellationTokenCancellationTokenThe cancellation instruction.
Returns
- Task<IEnumerable<WebPageFolder>>