Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
AutoMapper
UnitTests
Constructors
When_mapping_to_an_object_with_a_private_constructor
Because_of
AutoMapper.UnitTests.Constructors.When_mapping_to_an_object_with_a_private_constructor.Because_of C# (CSharp) Method
When_mapping_to_an_object_with_a_private_constructor Class Documentation
Show file
Open project: AutoMapper/AutoMapper
Because_of()
protected
method
protected
Because_of
( ) :
void
return
void
protected override void Because_of() { _dest = Mapper.Map<Source, Dest>(new Source { Foo = 5 }); }
When_mapping_to_an_object_with_a_private_constructor
Because_of
Should_map_the_constructor_argument