This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Ideation.Api.IChallenges>()
and is defined in Telligent.Evolution.Ideation.dll
Events
Events.AfterCreate
Handler
void ChallengeAfterCreateEventHandler(ChallengeAfterCreateEventArgs e);
Events.AfterDelete
Handler
void ChallengeAfterDeleteEventHandler(ChallengeAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void ChallengeAfterUpdateEventHandler(ChallengeAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void ChallengeBeforeCreateEventHandler(ChallengeBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void ChallengeBeforeDeleteEventHandler(ChallengeBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void ChallengeBeforeUpdateEventHandler(ChallengeBeforeUpdateEventArgs e);
Events.Render
Handler
void ChallengeRenderEventHandler(ChallengeRenderEventArgs e);
Methods
Challenge Create(int groupId, string name, ChallengeCreateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group Id | Required | ||
name | string | Name | Required | ||
options | ChallengeCreateOptions | Options | Required |
Return Type
Challenge Current(HttpContext context);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
context | HttpContext | Context | Required |
Return Type
AdditionalInfo Delete(Guid contentId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
Return Type
Challenge Get(Guid contentId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
Return Type
PagedList<Challenge> List(int groupId, ChallengesListOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group Id | Required | ||
options | ChallengesListOptions | Options | Required |
Return Type
Challenge Update(Guid id, ChallengeUpdateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | Guid | Id | Required | ||
options | ChallengeUpdateOptions | Options | Required |