Content created on the site must implement this interface for the social services to support it.
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Application | IApplication | The application in which the IContent is located. | ||
BadgeIconUrl | string | |||
ContentId | Guid | A Guid uniquely identifying the content. | ||
CreatedDate | DateTime | The date the content was created. | ||
Criteria | string | |||
Enabled | bool | |||
Errors | IList<Error> | |||
Id | Guid | |||
Title | string | |||
Url | string | A Url to the content on the site. | ||
Warnings | IList<Warning> |
Methods
HasErrors
Usage
#set($booleanResponse = $achievement.HasErrors())
Return Type
bool
HasWarnings
Usage
#set($booleanResponse = $achievement.HasWarnings())
Return Type
bool
HasWarningsOrErrors
Usage
#set($booleanResponse = $achievement.HasWarningsOrErrors())
Return Type
bool
ThrowErrors
Usage
$achievement.ThrowErrors()