Show / Hide Table of Contents

Class EditModalModel.PollEditViewModel

Inheritance
object
ExtensibleObject
EditModalModel.PollEditViewModel
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.Pro.Admin.Web.Pages.CmsKit.Polls
Assembly: Volo.CmsKit.Pro.Admin.Web.dll
Syntax
public class EditModalModel.PollEditViewModel : ExtensibleObject, IHasExtraProperties, IValidatableObject

Constructors

PollEditViewModel()

Declaration
public PollEditViewModel()

Properties

Code

Declaration
[ReadOnlyInput]
[Required]
[DynamicMaxLength(typeof(PollConst), "MaxCodeLength")]
[InputInfoText("Poll:CodeIsAUniqueKey")]
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")]
[InputInfoText("Poll:NameIsUsedToFilterInAdminSide")]
public string Name { get; set; }
Property Value
Type Description
string

PollOptions

Declaration
public PollOptionDto[] PollOptions { get; set; }
Property Value
Type Description
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
[Required]
public DateTime StartDate { get; set; }
Property Value
Type Description
DateTime

Widget

Declaration
[SelectItems("Widgets")]
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