| RevisionsGeneratorEnumPagesAsync(IWikiPageQueryProvider) Method |
This is preliminary documentation and is subject to change.
Infrastructure. Not intended to be used directly in your code.
Asynchronously enumerates the pages from generator.
Namespace: WikiClientLibrary.GeneratorsAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override IAsyncEnumerable<WikiPage> EnumPagesAsync(
IWikiPageQueryProvider options
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Overrides Function EnumPagesAsync (
options As IWikiPageQueryProvider
) As IAsyncEnumerable(Of WikiPage)
Dim instance As RevisionsGenerator
Dim options As IWikiPageQueryProvider
Dim returnValue As IAsyncEnumerable(Of WikiPage)
returnValue = instance.EnumPagesAsync(options)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
virtual IAsyncEnumerable<WikiPage^>^ EnumPagesAsync(
IWikiPageQueryProvider^ options
) override
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract EnumPagesAsync :
options : IWikiPageQueryProvider -> IAsyncEnumerable<WikiPage>
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override EnumPagesAsync :
options : IWikiPageQueryProvider -> IAsyncEnumerable<WikiPage>
Parameters
- options IWikiPageQueryProvider
- Options when querying for the pages.
Return Value
IAsyncEnumerableWikiPageImplements
IWikiPageGeneratorEnumPagesAsync(IWikiPageQueryProvider)Remarks
Using
revisions as generator is not supported until MediaWiki 1.25.
Usually this generator will only returns the title specified in
PageTitle or
PageId.
See Also