Show / Hide Table of Contents

Class CreatePollDto

Inheritance
object
ExtensibleObject
CreatePollDto
Implements
IHasExtraProperties
IValidatableObject
Inherited Members
ExtensibleObject.Validate(ValidationContext)
ExtensibleObject.ExtraProperties
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Admin.Polls
Assembly: Volo.CmsKit.Pro.Admin.Application.Contracts.dll
Syntax
public class CreatePollDto : ExtensibleObject, IHasExtraProperties, IValidatableObject

Constructors

CreatePollDto()

Declaration
public CreatePollDto()

Properties

AllowMultipleVote

Declaration
public bool AllowMultipleVote { get; set; }
Property Value
Type Description
bool

Code

Declaration
[Required]
[DynamicMaxLength(typeof(PollConst), "MaxCodeLength")]
public string Code { get; set; }
Property Value
Type Description
string

EndDate

Declaration
public DateTime? EndDate { get; set; }
Property Value
Type Description
DateTime?

Name

Declaration
[DynamicMaxLength(typeof(PollConst), "MaxNameLength")]
public string Name { get; set; }
Property Value
Type Description
string

PollOptions

Declaration
public Collection<PollOptionDto> PollOptions { get; set; }
Property Value
Type Description
Collection<PollOptionDto>

Question

Declaration
[Required]
[DynamicMaxLength(typeof(PollConst), "MaxQuestionLength")]
public string Question { get; set; }
Property Value
Type Description
string

ResultShowingEndDate

Declaration
public DateTime? ResultShowingEndDate { get; set; }
Property Value
Type Description
DateTime?

ShowHoursLeft

Declaration
public bool ShowHoursLeft { get; set; }
Property Value
Type Description
bool

ShowResultWithoutGivingVote

Declaration
public bool ShowResultWithoutGivingVote { get; set; }
Property Value
Type Description
bool

ShowVoteCount

Declaration
public bool ShowVoteCount { get; set; }
Property Value
Type Description
bool

StartDate

Declaration
public DateTime StartDate { get; set; }
Property Value
Type Description
DateTime

Widget

Declaration
[DynamicMaxLength(typeof(PollConst), "MaxWidgetNameLength")]
public string Widget { get; set; }
Property Value
Type Description
string

Implements

IHasExtraProperties
IValidatableObject

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform