Show / Hide Table of Contents

Interface IChoosable

Namespace: Volo.Forms.Questions.ChoosableItems
Assembly: Volo.Forms.Domain.dll
Syntax
public interface IChoosable

Methods

AddChoice(Guid, int, string, bool, Guid?)

Declaration
void AddChoice(Guid id, int index, string value, bool isCorrect = false, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
int index
string value
bool isCorrect
Guid? tenantId

AddChoices(List<(Guid id, string value, bool isCorrect)>, Guid?)

Declaration
void AddChoices(List<(Guid id, string value, bool isCorrect)> choices, Guid? tenantId = null)
Parameters
Type Name Description
List<(Guid Id, string value, bool isCorrect)> choices
Guid? tenantId

ClearChoices()

Declaration
void ClearChoices()

GetChoices()

Declaration
ICollection<Choice> GetChoices()
Returns
Type Description
ICollection<Choice>

MoveChoice(Guid, int)

Declaration
void MoveChoice(Guid id, int newIndex)
Parameters
Type Name Description
Guid id
int newIndex

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