Click or drag to resize

DiscussionsExtensionsRefreshAsync(IEnumerablePost, PostQueryOptions, CancellationToken) Method

This is preliminary documentation and is subject to change.

Refreshes the post content from the server.

Namespace: WikiClientLibrary.Wikia.Discussions
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static Task RefreshAsync(
	this IEnumerable<Post> posts,
	PostQueryOptions options,
	CancellationToken cancellationToken
)

Parameters

posts  IEnumerablePost
The posts to be refreshed.
options  PostQueryOptions
The options used to fetch the post.
cancellationToken  CancellationToken
The token used to cancel the operation.

Return Value

Task

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerablePost. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This method will not fetch replies for the posts. Replies will remain unchanged after the invocation.
See Also