Content created on the site must implement this interface for the social services to support it.
WikiPage is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class WikiPage : LazyContentApiEntity<Page>, IApiEntity, IExtendedAuditable, ITextReviewableContent
{
WikiPage();
WikiPage(Func<Page> corePostLoader);
WikiPage(AdditionalInfo additionalInfo);
WikiPage(Error error);
WikiPage(Warning warning);
WikiPage(Func<Page> corePostLoader, Page originalPage);
WikiPage(ICommentService commentService, IContentViewService contentViewService, IFeaturedContentApiService featureService, Func<Page> corePostLoader, Page originalPage);
Application Application { get; }
int? ChildPageCount { get; set; }
int? CommentCount { get; set; }
Guid ContentId { get; set; }
DateTime? CreatedDate { get; set; }
DateTime? Date { get; set; }
IList<Error> Errors { get; }
string FeaturedImage { get; set; }
int? ForumThreadId { get; set; }
int? GroupId { get; set; }
bool? HiddenInTableOfContents { get; set; }
int? Id { get; set; }
bool? IsDefaultPage { get; set; }
bool? IsFeatured { get; set; }
bool? IsLocked { get; set; }
bool? IsPublished { get; set; }
DateTime? LastModifiedDate { get; set; }
string MetaDescription { get; set; }
string MetaKeywords { get; set; }
string MetaTitle { get; set; }
string PageKey { get; set; }
int? ParentPageId { get; set; }
int? Position { get; set; }
int? RatingCount { get; set; }
int? RatingSum { get; set; }
int? RevisionCount { get; set; }
int? RevisionNumber { get; set; }
string SearchUniqueId { get; }
IList<string> Tags { get; set; }
string Title { get; set; }
string Url { get; set; }
User User { get; set; }
int? ViewCount { get; set; }
IList<Warning> Warnings { get; }
int? WikiId { get; set; }
string Body();
string Body(string postTarget);
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
WikiPage();
WikiPage(Func<Page> corePostLoader);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| corePostLoader | Func<Page> | Core Post Loader | Required |
WikiPage(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
WikiPage(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
WikiPage(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
WikiPage(Func<Page> corePostLoader, Page originalPage);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| corePostLoader | Func<Page> | Core Post Loader | Required | ||
| originalPage | Page | Original Page | Required |
WikiPage(ICommentService commentService, IContentViewService contentViewService, IFeaturedContentApiService featureService, Func<Page> corePostLoader, Page originalPage);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| commentService | ICommentService | Comment Service | Required | ||
| contentViewService | IContentViewService | Content View Service | Required | ||
| featureService | IFeaturedContentApiService | Feature Service | Required | ||
| corePostLoader | Func<Page> | Core Post Loader | Required | ||
| originalPage | Page | Original Page | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Application | Application | |||
| ChildPageCount | int? | |||
| CommentCount | int? | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| CreatedDate | DateTime? | |||
| Date | DateTime? | |||
| Errors | IList<Error> | |||
| FeaturedImage | string | |||
| ForumThreadId | int? | |||
| GroupId | int? | |||
| HiddenInTableOfContents | bool? | |||
| Id | int? | |||
| IsDefaultPage | bool? | |||
| IsFeatured | bool? | |||
| IsLocked | bool? | |||
| IsPublished | bool? | |||
| LastModifiedDate | DateTime? | |||
| MetaDescription | string | |||
| MetaKeywords | string | |||
| MetaTitle | string | |||
| PageKey | string | |||
| ParentPageId | int? | |||
| Position | int? | |||
| RatingCount | int? | |||
| RatingSum | int? | |||
| RevisionCount | int? | |||
| RevisionNumber | int? | |||
| SearchUniqueId | string | |||
| Tags | IList<string> | |||
| Title | string | |||
| Url | string | A Url to the content on the site. | ||
| User | User | |||
| ViewCount | int? | |||
| Warnings | IList<Warning> | |||
| WikiId | int? |