Show / Hide Table of Contents

Class QuestionBaseToQuestionWithAnswersDtoMapper

Inheritance
object
MapperBase<QuestionBase, QuestionWithAnswersDto>
QuestionBaseToQuestionWithAnswersDtoMapper
Implements
IAbpMapperlyMapper<QuestionBase, QuestionWithAnswersDto>
ITransientDependency
Inherited Members
MapperBase<QuestionBase, QuestionWithAnswersDto>.Map(QuestionBase)
MapperBase<QuestionBase, QuestionWithAnswersDto>.Map(QuestionBase, QuestionWithAnswersDto)
MapperBase<QuestionBase, QuestionWithAnswersDto>.BeforeMap(QuestionBase)
MapperBase<QuestionBase, QuestionWithAnswersDto>.AfterMap(QuestionBase, QuestionWithAnswersDto)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Forms
Assembly: Volo.Forms.Application.dll
Syntax
public class QuestionBaseToQuestionWithAnswersDtoMapper : MapperBase<QuestionBase, QuestionWithAnswersDto>, IAbpMapperlyMapper<QuestionBase, QuestionWithAnswersDto>, ITransientDependency

Constructors

QuestionBaseToQuestionWithAnswersDtoMapper()

Declaration
public QuestionBaseToQuestionWithAnswersDtoMapper()

Methods

AfterMap(QuestionBase, QuestionWithAnswersDto)

Declaration
public override void AfterMap(QuestionBase source, QuestionWithAnswersDto destination)
Parameters
Type Name Description
QuestionBase source
QuestionWithAnswersDto destination
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.AfterMap(Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto)

Map(IEnumerable<Choice>)

Declaration
public List<ChoiceDto> Map(IEnumerable<Choice> source)
Parameters
Type Name Description
IEnumerable<Choice> source
Returns
Type Description
List<ChoiceDto>

Map(Choice)

Declaration
public ChoiceDto Map(Choice source)
Parameters
Type Name Description
Choice source
Returns
Type Description
ChoiceDto

Map(QuestionBase)

Declaration
public override QuestionWithAnswersDto Map(QuestionBase source)
Parameters
Type Name Description
QuestionBase source
Returns
Type Description
QuestionWithAnswersDto
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.Map(Volo.Forms.Questions.QuestionBase)

Map(QuestionBase, QuestionWithAnswersDto)

Declaration
public override void Map(QuestionBase source, QuestionWithAnswersDto destination)
Parameters
Type Name Description
QuestionBase source
QuestionWithAnswersDto destination
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.Map(Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto)

Implements

IAbpMapperlyMapper<TSource, TDestination>
ITransientDependency

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