Content created on the site must implement this interface for the social services to support it.
Wiki is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Wiki : LazyContentApiEntity<Wiki>, IApiEntity, IApplication, IAuditable, IContent { Wiki(); Wiki(AdditionalInfo additionalInfo); Wiki(Error error); Wiki(Warning warning); Guid ApplicationId { get; set; } int CommentCount { get; set; } Guid ContentId { get; } string Description { get; set; } bool Enabled { get; set; } IList<Error> Errors { get; } Group Group { get; set; } int? Id { get; set; } string Key { get; set; } DateTime? LastModifiedDate { get; set; } DateTime? LastModifiedUtcDate { get; set; } string Name { get; set; } int PageCount { get; set; } string Url { get; set; } IList<Warning> Warnings { get; } bool HasErrors(); bool HasWarnings(); bool HasWarningsOrErrors(); string HtmlDescription(string target); void ThrowErrors(); }
Constructors
Wiki();
Wiki(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
Wiki(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
Wiki(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ApplicationId | Guid | A Guid uniquely identifying the application. | ||
| CommentCount | int | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| Description | string | |||
| Enabled | bool | |||
| Errors | IList<Error> | |||
| Group | Group | |||
| Id | int? | |||
| Key | string | |||
| LastModifiedDate | DateTime? | |||
| LastModifiedUtcDate | DateTime? | |||
| Name | string | |||
| PageCount | int | |||
| Url | string | A Url to the application on the site. | ||
| Warnings | IList<Warning> |
Methods
bool HasErrors();
Return Type
bool HasWarnings();
Return Type
bool HasWarningsOrErrors();
Return Type
string HtmlDescription(string target);
This method should return the Html encoded description of the application. Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”. When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it. If there is no description, an empty string should be returned.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |