Content created on the site must implement this interface for the social services to support it.
Leaderboard is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Leaderboard : ApiEntity, IApiEntity, IApplication, IAuditable, IContent, ISecuredItem { Leaderboard(); Leaderboard(AdditionalInfo info); Leaderboard(Leaderboard coreLeaderboard); Leaderboard(Leaderboard coreLeaderboard, AdditionalInfo info); Guid ApplicationId { get; set; } string ApplicationKey { get; set; } Guid? ContainerId { get; set; } Guid ContentId { get; set; } Guid ContentTypeId { get; } DateTime CreatedDate { get; set; } DateTime? EndDate { get; set; } DateTime? EndDisplayDate { get; set; } IList<Error> Errors { get; } ApiList<Role> ExcludeRolesFilter { get; } int Id { get; set; } ApiList<Role> IncludeRolesFilter { get; } bool IsEnabled { get; } DateTime? LastCalculatedDate { get; set; } string Name { get; set; } Guid NodeId { get; } int NumberOfLeaders { get; set; } DateTime? StartDate { get; set; } DateTime? StartDisplayDate { get; set; } string TimeSpanFilterType { get; set; } int? TimeSpanLength { get; set; } string TimeSpanType { get; set; } string Url { get; } IList<Warning> Warnings { get; } string Description(); string Description(string target); bool HasErrors(); bool HasWarnings(); bool HasWarningsOrErrors(); void ThrowErrors(); }
Constructors
Leaderboard();
Leaderboard(AdditionalInfo info);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| info | AdditionalInfo | Info | Required |
Leaderboard(Leaderboard coreLeaderboard);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| coreLeaderboard | Leaderboard | Core Leaderboard | Required |
Leaderboard(Leaderboard coreLeaderboard, AdditionalInfo info);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| coreLeaderboard | Leaderboard | Core Leaderboard | Required | ||
| info | AdditionalInfo | Info | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ApplicationId | Guid | A Guid uniquely identifying the application. | ||
| ApplicationKey | string | |||
| ContainerId | Guid? | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| ContentTypeId | Guid | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. | ||
| CreatedDate | DateTime | The date the content was created. | ||
| EndDate | DateTime? | |||
| EndDisplayDate | DateTime? | |||
| Errors | IList<Error> | |||
| ExcludeRolesFilter | ApiList<Role> | |||
| Id | int | |||
| IncludeRolesFilter | ApiList<Role> | |||
| IsEnabled | bool | A flag representing whether the application is enabled. | ||
| LastCalculatedDate | DateTime? | |||
| Name | string | |||
| NodeId | Guid | |||
| NumberOfLeaders | int | |||
| StartDate | DateTime? | |||
| StartDisplayDate | DateTime? | |||
| TimeSpanFilterType | string | |||
| TimeSpanLength | int? | |||
| TimeSpanType | string | |||
| Url | string | A Url to the application on the site. | ||
| Warnings | IList<Warning> |