Skip to content

Commit 0356541

Browse files
authored
Releases/1.7 (#199)
* Optimising for loops! * Tidying * Organising enumerable mapping classes * Tidying enumerable mapping code * Fixing struct method creation factory caching * Updating projects to .NET Core project format / Tidying * Converting remaining projects to .NET Core project format, removing common AssemblyInfo files * Adding more-efficient FilterToArray method * Organising classes * Adding .NET 3.5 'hint path' * Using Environment.NewLine in test * Updating NUnit version * Organising configuration classes * Updating .Net35 test project * Trying NUnit test discovery fix * Removing * Removing unused code * Updating to v1.7 * Features/map instances using (#192) * Initial test + implementation * Resetting implementation * Adding mapping factories * Continued * Support for custom, unconditional root mapping factories * Continued * Removing target null checking from nested access checks * Integrating configured mapping factories as part of alternate mappings in ComplexTypeMappingExpressionFactory * Support for custom mapping factories in derived collection elements / Erroring if custom factories have invalid return types * Extending test coverage * Test coverage for configured root element mapping factory * Support for unconditional configured enumerable mapping factories * Support for conditional configured root enumerable mapping * Extending test coverage * Incorrect mapping factory configuration test coverge / Updating documentation * Tidying * Support for configuring non-enumerable to enumerable mapping using MapInstancesUsing * Refactoring * Support for root configured non-enumerable to enumerable mapping * Extending test coverage * Updating documentation / Adding inline mapping factory tests * Support for configured non-enumerable to enumerable element mapping * Fixing Net35 build * Support for conditional configured non-enumerable to enumerable mapping (#193) * Support for conditional configured non-enumerable to enumerable mapping * Fixing tests * Tidying * Removing duplicate short-circuit returns * Extending test coverage * Bugs/173 dictionary values to target (#194), re: issue #173 * Splitting ToTarget DataSource tests into dedicated test class / Adding failing test to prove bug * Fixing Dictionary.Values to List ToTarget data source mapping * Adding .NET Core 3.1 test project + updating packages and framework runtimes * Fix for configured simple-to-complex array data sources * Simplifying 'invocation position' code * Setting ConfiguredLambdaInfo target value factory in ctor * Features/value injection (#195) * All tests passing using ValueInjectors! * Removing ParametersSwapper + tidying * Deferring creation of Create mapping data calls * Support for same-type enumerable-to-enumerable to-target data sources * Including configured ToTarget data sources in mapping plan validation, re: #184 * Tidying * Updating readme * Features/sequential data sources (#196) * Basic sequential data source support, re: issue #184 * Erroring if duplicate sequential data sources are configured * Extra test coverage * Erroring if sequential data source configured for simple type members * Extra test coverage * Erroring if configured data sources conflict with ignored source members * Start of API update * Updating sequential data source API * Support for conditional sequential data sources * Extra test coverage * Extending test coverage * Adding documentation * Extra test coverage * Start of sequential data sources for ctor parameters / Properly using fallback values in more places / Fixing tests * Moving map methods back into interface to fix test overload resolution?! * Fixing data source conflict tests * Removing sequential ctor data source test * Updating to v1.7-preview1 * Updating release notes, adding v1.7-preview1 NuGet package * Surfacing mapping plan Expressions / Updating to ReadableExpressions v2.4 * Adding icon files * Updating packages * Features/to target instead (#198) * Start of ToTargetInstead logic * Refactoring * Moar * Ensuring configured mappings include callbacks and exception handling * Extending ToTargetInstead test coverage / ToTargetInstead support with simple type members * ToTargetInstead support for factory Funcs * Extending test coverage * Extending test coverage * Erroring if simple ToTarget source configured for complex target * Conditional ToTargetInstead support for complex type enumerable elements * Tidying * Tidying * Extra test coverage * Updating documentation * Erroring with redundant ToTarget configurations * Updating .NET Core framework versions for AppVeyor * Adding Test framework reference for AppVeyor * Updating framework version for AppVeyor * Adding NuGet package v1.7
1 parent b881f6d commit 0356541

File tree

380 files changed

+7605
-5297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+7605
-5297
lines changed

AgileMapper.PerformanceTester.Net45/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 5 deletions
This file was deleted.

AgileMapper.PerformanceTester.Net45/AgileMapper.PerformanceTester.Net45.csproj renamed to AgileMapper.PerformanceTester.Net461/AgileMapper.PerformanceTester.Net461.csproj

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4-
<Import Project="..\common.props" />
54
<PropertyGroup>
65
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
76
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -10,9 +9,10 @@
109
<AppDesignerFolder>Properties</AppDesignerFolder>
1110
<RootNamespace>AgileObjects.AgileMapper.PerformanceTester.Net45</RootNamespace>
1211
<AssemblyName>AgileObjects.AgileMapper.PerformanceTester.Net45</AssemblyName>
13-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1413
<FileAlignment>512</FileAlignment>
1514
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<TargetFrameworkProfile />
1616
</PropertyGroup>
1717
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1818
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -34,11 +34,11 @@
3434
<WarningLevel>4</WarningLevel>
3535
</PropertyGroup>
3636
<ItemGroup>
37-
<Reference Include="AgileObjects.NetStandardPolyfills, Version=1.4.0.0, Culture=neutral, PublicKeyToken=06131ac1c008ad4e, processorArchitecture=MSIL">
38-
<HintPath>..\packages\AgileObjects.NetStandardPolyfills.1.4.0\lib\net40\AgileObjects.NetStandardPolyfills.dll</HintPath>
37+
<Reference Include="AgileObjects.NetStandardPolyfills, Version=1.4.1.0, Culture=neutral, PublicKeyToken=06131ac1c008ad4e, processorArchitecture=MSIL">
38+
<HintPath>..\packages\AgileObjects.NetStandardPolyfills.1.4.1\lib\net40\AgileObjects.NetStandardPolyfills.dll</HintPath>
3939
</Reference>
40-
<Reference Include="AgileObjects.ReadableExpressions, Version=2.3.2.0, Culture=neutral, PublicKeyToken=9f54ad81db69da8e, processorArchitecture=MSIL">
41-
<HintPath>..\packages\AgileObjects.ReadableExpressions.2.3.2\lib\net40\AgileObjects.ReadableExpressions.dll</HintPath>
40+
<Reference Include="AgileObjects.ReadableExpressions, Version=2.5.0.0, Culture=neutral, PublicKeyToken=9f54ad81db69da8e, processorArchitecture=MSIL">
41+
<HintPath>..\packages\AgileObjects.ReadableExpressions.2.5.0\lib\net40\AgileObjects.ReadableExpressions.dll</HintPath>
4242
</Reference>
4343
<Reference Include="AutoMapper, Version=7.0.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
4444
<HintPath>..\packages\AutoMapper.7.0.1\lib\net45\AutoMapper.dll</HintPath>
@@ -69,12 +69,6 @@
6969
<Reference Include="System.Xml" />
7070
</ItemGroup>
7171
<ItemGroup>
72-
<Compile Include="..\CommonAssemblyInfo.cs">
73-
<Link>CommonAssemblyInfo.cs</Link>
74-
</Compile>
75-
<Compile Include="..\VersionInfo.cs">
76-
<Link>VersionInfo.cs</Link>
77-
</Compile>
7872
<Compile Include="ConcreteMappers\ExpressMapper\ExpressMapperComplexTypeMapper.cs" />
7973
<Compile Include="ConcreteMappers\ExpressMapper\ExpressMapperComplexTypeMapperSetup.cs" />
8074
<Compile Include="ConcreteMappers\ExpressMapper\ExpressMapperCtorMapper.cs" />
@@ -83,7 +77,6 @@
8377
<Compile Include="ConcreteMappers\ExpressMapper\ExpressMapperFlatteningMapper.cs" />
8478
<Compile Include="ConcreteMappers\ExpressMapper\ExpressMapperInstantiation.cs" />
8579
<Compile Include="Program.cs" />
86-
<Compile Include="Properties\AssemblyInfo.cs" />
8780
</ItemGroup>
8881
<ItemGroup>
8982
<None Include="App.config" />
@@ -101,6 +94,9 @@
10194
<Name>AgileMapper</Name>
10295
</ProjectReference>
10396
</ItemGroup>
97+
<ItemGroup>
98+
<Folder Include="Properties\" />
99+
</ItemGroup>
104100
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105101
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106102
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
55
</startup>
66
<runtime>
77
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
88
<dependentAssembly>
9-
<assemblyIdentity name="AgileObjects.NetStandardPolyfills" publicKeyToken="06131ac1c008ad4e" culture="neutral" />
10-
<bindingRedirect oldVersion="0.0.0.0-1.4.0.0" newVersion="1.4.0.0" />
9+
<assemblyIdentity name="AgileObjects.NetStandardPolyfills" publicKeyToken="06131ac1c008ad4e" culture="neutral"/>
10+
<bindingRedirect oldVersion="0.0.0.0-1.4.0.0" newVersion="1.4.0.0"/>
1111
</dependentAssembly>
1212
</assemblyBinding>
1313
</runtime>
14-
</configuration>
14+
</configuration>

0 commit comments

Comments
 (0)