This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IPolls>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterCreate
Handler
void PollAfterCreateEventHandler(PollAfterCreateEventArgs e);
Events.AfterDelete
Handler
void PollAfterDeleteEventHandler(PollAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void PollAfterUpdateEventHandler(PollAfterUpdateEventArgs e);
Events.OnVote
Handler
void PollVoteEventHandler(PollVoteEventArgs e);
Events.Render
Handler
void PollRenderEventHandler(PollRenderEventArgs e);
Methods
Poll Get(Guid id);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | Guid | Id | Required |
Return Type
VoteSummary GetSummary(Guid pollId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pollId | Guid | Poll Id | Required |
Return Type
Guid? GetVote(Guid pollId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pollId | Guid | Poll Id | Required |
Return Type
Guid?
void Vote(Guid pollId, Guid optionId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pollId | Guid | Poll Id | Required | ||
optionId | Guid | Option Id | Required |