Click or drag to resize

Post Constructor

This is preliminary documentation and is subject to change.

Initializes a new instance of Post.

Namespace: WikiClientLibrary.Wikia.Discussions
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Post(
	WikiaSite site,
	WikiPageStub ownerPage,
	long id
)

Parameters

site  WikiaSite
The Wikia site.
ownerPage  WikiPageStub
Stub of the page/board that owns the post.
id  Int64
ID of the post.
Exceptions
ExceptionCondition
ArgumentNullExceptionsite is null.
ArgumentExceptionownerPage.IsEmpty is true.
Remarks
For now, it is not possible to get the replies by using the constructor provided here. To achieve this, you need to invoke EnumPostsAsync on a Board instance.
See Also