The Poll type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Poll | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Performs a clone of the current object.
(Inherited from EntityBase.) | |
| CloneReferenceMembers | (Overrides FrameworkEntityBase..::.CloneReferenceMembers()()().) | |
| Equals | (Inherited from EntityBase.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAccessRights |
Gets Poll access rights for a User
| |
| GetAttribute | Overloaded. | |
| GetAttributes | Overloaded. | |
| GetAttributeValue | Overloaded. | |
| GetAttributeValues | Overloaded. | |
| GetComments |
Gets comments for this entity with paging support. Default sorting on created, descending.
(Inherited from FrameworkEntityBase.) | |
| GetEntityTags | (Inherited from FrameworkEntityBase.) | |
| GetHashCode | (Inherited from EntityBase.) | |
| GetLastVisit |
Gets the last IVisit added with [!:Visits.VisitHandler.AddVisit(IVisit visit)] for this IVisitableEntity.
(Inherited from FrameworkEntityBase.) | |
| GetLogEntries |
Gets a [!:ActivityLogCollection] of log entries for this entity (add and update). IP address, Date etc.
(Inherited from FrameworkEntityBase.) | |
| GetNumComments |
Gets the total number of comments for this entity
(Inherited from FrameworkEntityBase.) | |
| GetNumVisits |
Gets the number of total visits added with [!:Visits.VisitHandler.AddVisit(IVisit visit)] for this IVisitableEntity.
(Inherited from FrameworkEntityBase.) | |
| GetPollAccessRights |
Gets Poll access rights for a Group
| |
| GetRatings | Overloaded. | |
| GetReportCases | Overloaded. | |
| GetTotalPollAccessRights | Overloaded. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasVoted |
Gets if a user has voted in this poll
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetAttributeValue | Overloaded. | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Author |
Gets or sets the author of the poll
| |
| AvgRating |
Gets the average rating value.
(Inherited from FrameworkEntityBase.) | |
| CacheKey |
Dictates how a Poll in the cache should identify itself.
(Overrides EntityBase..::.CacheKey.) | |
| Categories |
Gets and sets Categories for an entity
(Inherited from FrameworkEntityBase.) | |
| Choices |
Gets or sets the choices in this poll
| |
| CreateDate |
Gets the Create Date of the poll
| |
| EndDate |
Gets or sets the End Date of the poll
| |
| EntityTags | (Inherited from FrameworkEntityBase.) | |
| ID |
Id of the entity
(Inherited from EntityBase.) | |
| IsActive |
Gets or sets if the poll is active
| |
| IsRatable |
Gets and set the entities ratability.
(Inherited from FrameworkEntityBase.) | |
| IsReported |
Gets whether this entity has an open [!:ReportCase]
(Inherited from FrameworkEntityBase.) | |
| Item | Overloaded. | |
| NumRatings |
Gets the number of ratings.
(Inherited from FrameworkEntityBase.) | |
| ReadOnly | (Inherited from EntityBase.) | |
| ReportData |
Overrides ReportData from FrameworkEntityBase. Used to collect data for the abuse reporting system
(Overrides FrameworkEntityBase..::.ReportData.) | |
| Site |
Gets or sets to which site the poll belongs
| |
| StartDate |
Gets or sets the Start Date of the poll
| |
| Tags | (Inherited from FrameworkEntityBase.) | |
| Text |
Gets or sets the text describing the poll
| |
| VoteCount |
Gets the number of votes made in the poll
|