Show / Hide Table of Contents

Class Form

Inheritance
object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
CreationAuditedAggregateRoot<Guid>
AuditedAggregateRoot<Guid>
FullAuditedAggregateRoot<Guid>
Form
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IFullAuditedObject
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime
IDeletionAuditedObject
IHasDeletionTime
ISoftDelete
IMultiTenant
Inherited Members
FullAuditedAggregateRoot<Guid>.IsDeleted
FullAuditedAggregateRoot<Guid>.DeleterId
FullAuditedAggregateRoot<Guid>.DeletionTime
AuditedAggregateRoot<Guid>.LastModificationTime
AuditedAggregateRoot<Guid>.LastModifierId
CreationAuditedAggregateRoot<Guid>.CreationTime
CreationAuditedAggregateRoot<Guid>.CreatorId
AggregateRoot<Guid>.Validate(ValidationContext)
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(object)
BasicAggregateRoot<Guid>.AddDistributedEvent(object)
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Forms.Forms
Assembly: Volo.Forms.Domain.dll
Syntax
public class Form : FullAuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IFullAuditedObject, IAuditedObject, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IModificationAuditedObject, IHasModificationTime, IDeletionAuditedObject, IHasDeletionTime, ISoftDelete, IMultiTenant

Constructors

Form()

Declaration
protected Form()

Form(Guid, string, string, bool, bool, bool, bool, bool, bool, Guid?)

Declaration
public Form(Guid id, string title, string description = null, bool canEditResponse = false, bool isCollectingEmail = false, bool hasLimitOneResponsePerUser = false, bool isAcceptingResponses = true, bool isQuiz = false, bool requiresLogin = false, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
string title
string description
bool canEditResponse
bool isCollectingEmail
bool hasLimitOneResponsePerUser
bool isAcceptingResponses
bool isQuiz
bool requiresLogin
Guid? tenantId

Properties

CanEditResponse

Declaration
public virtual bool CanEditResponse { get; protected set; }
Property Value
Type Description
bool

Description

Declaration
public virtual string Description { get; protected set; }
Property Value
Type Description
string

HasLimitOneResponsePerUser

Declaration
public virtual bool HasLimitOneResponsePerUser { get; protected set; }
Property Value
Type Description
bool

IsAcceptingResponses

Declaration
public virtual bool IsAcceptingResponses { get; protected set; }
Property Value
Type Description
bool

IsCollectingEmail

Declaration
public virtual bool IsCollectingEmail { get; protected set; }
Property Value
Type Description
bool

IsQuiz

Declaration
public virtual bool IsQuiz { get; protected set; }
Property Value
Type Description
bool

RequiresLogin

Declaration
public virtual bool RequiresLogin { get; protected set; }
Property Value
Type Description
bool

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

Title

Declaration
public virtual string Title { get; protected set; }
Property Value
Type Description
string

Methods

SetDescription(string)

Declaration
public virtual void SetDescription(string description)
Parameters
Type Name Description
string description

SetSettings(bool, bool, bool, bool, bool, bool)

Declaration
public virtual void SetSettings(bool canEditResponse = false, bool isCollectingEmail = false, bool hasLimitOneResponsePerUser = false, bool isAcceptingResponses = true, bool isQuiz = false, bool requiresLogin = false)
Parameters
Type Name Description
bool canEditResponse
bool isCollectingEmail
bool hasLimitOneResponsePerUser
bool isAcceptingResponses
bool isQuiz
bool requiresLogin

SetTitle(string)

Declaration
public virtual void SetTitle(string title)
Parameters
Type Name Description
string title

Undelete()

Declaration
public virtual void Undelete()

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IFullAuditedObject
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime
IDeletionAuditedObject
IHasDeletionTime
ISoftDelete
IMultiTenant

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