fixup some source stuff
This commit is contained in:
parent
099ce1dbd9
commit
c8ed747aa3
|
|
@ -552,7 +552,7 @@ namespace AutoMapProperty
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sb.Append(@".Select(x => (").Append(GetFullString(concreteToType)).Append(@")x)");
|
sb.Append(@".Select(x => new ").Append(GetFullString(concreteToType)).Append(@"().ApplyFrom(providers, x))");
|
||||||
sb.Append(nullable ? "?" : "");
|
sb.Append(nullable ? "?" : "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -663,7 +663,7 @@ namespace AutoMapProperty
|
||||||
|
|
||||||
if (isArray)
|
if (isArray)
|
||||||
{
|
{
|
||||||
sb.Append(Key).Append(".Any(); source.");
|
sb.Append(Key).Append("?.Any(); source.");
|
||||||
}
|
}
|
||||||
|
|
||||||
sb.Append(Key).Append(@" =");
|
sb.Append(Key).Append(@" =");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user