Class QuestionBaseToQuestionWithAnswersDtoMapper
Inheritance
QuestionBaseToQuestionWithAnswersDtoMapper
Assembly: Volo.Forms.Application.dll
public class QuestionBaseToQuestionWithAnswersDtoMapper : MapperBase<QuestionBase, QuestionWithAnswersDto>, IAbpMapperlyMapper<QuestionBase, QuestionWithAnswersDto>, ITransientDependency
Constructors
Declaration
public QuestionBaseToQuestionWithAnswersDtoMapper()
Methods
Declaration
public override void AfterMap(QuestionBase source, QuestionWithAnswersDto destination)
Parameters
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.AfterMap(Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto)
Declaration
public List<ChoiceDto> Map(IEnumerable<Choice> source)
Parameters
Returns
Declaration
public ChoiceDto Map(Choice source)
Parameters
| Type |
Name |
Description |
| Choice |
source |
|
Returns
Declaration
public override QuestionWithAnswersDto Map(QuestionBase source)
Parameters
Returns
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.Map(Volo.Forms.Questions.QuestionBase)
Declaration
public override void Map(QuestionBase source, QuestionWithAnswersDto destination)
Parameters
Overrides
Volo.Abp.Mapperly.MapperBase<Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto>.Map(Volo.Forms.Questions.QuestionBase, Volo.Forms.Responses.QuestionWithAnswersDto)
Implements
Extension Methods