Poll Class
- Namespace:
- Weavy.Core.Models
- Assembly:
- Weavy.Core.dll
A multiple choice poll.
public class Poll
- Inheritance:
- System.Object → Poll
Constructors
Poll() |
Properties
Has |
Gets a value indicating whether the current user has voted in this poll. |
Id | Gets the id of the poll. |
Option |
Gets the ids of the poll options (if any). |
Options | Gets the options for the poll. |
Vote |
Gets the total number of votes in this poll. |
Extension Methods
Is |
Gets a value indicating if the specified value has the default value of the generic type. |
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |