Adjusted files following split
Move files that were commong between multiple projects
Updated namespaces for files that had moved.
MODIFY
src/Chapter19/Chapter19.csproj
src/Chapter19/Chapter19.csproj
<Link>PiCalculator.cs</Link>
</Compile>
</ItemGroup>
- <ItemGroup>
- <PackageReference Include="System.Linq.Async" Version="4.0.0" />
- </ItemGroup>
</Project>

MODIFY
src/Chapter19/Utility.cs
src/Chapter19/Utility.cs
static class Utility
{
- public static IEnumerable<string> GetData(int count)
- {
- for(int i = 0; i < count; i++)
- yield return Guid.NewGuid().ToString();
- }
-
public static void DisplayComparison(string title, long synchElapsed, long parallelElapsed)
{
string message = string.Format("synchronous {0} > {1} parallel by {2}%",

RENAME
src/Chapter19.Tests/CryptographerTests.cs
src/Chapter20.Tests/CryptographerTests.cs
MODIFY
src/Chapter20.Tests/Listing19.13.Tests.cs
src/Chapter20.Tests/Listing19.13.Tests.cs
-using AddisonWesley.Michaelis.EssentialCSharp.Chapter19.Listing19_13to14.Tests;
+using AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_13.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Threading.Tasks;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter19.Listing19_13.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_13.Tests
{
[TestClass]

MODIFY
src/Chapter20.Tests/Listing20.14.AsynchronousHighLatencyUsingTaskAsynchronyPattern.cs
src/Chapter20.Tests/Listing20.14.AsynchronousHighLatencyUsingTaskAsynchronyPattern.cs
-using AddisonWesley.Michaelis.EssentialCSharp.Chapter19.Listing19_13to14.Tests;
+using AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_13;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_14
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_14.Tests
{
[TestClass]

MODIFY
src/Chapter20.Tests/Listing20.15.AsynchronousHighLatency.cs
src/Chapter20.Tests/Listing20.15.AsynchronousHighLatency.cs
-using AddisonWesley.Michaelis.EssentialCSharp.Chapter19.Listing19_13to14.Tests;
+using AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_13;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;

MODIFY
src/Chapter20/Chapter20.csproj
src/Chapter20/Chapter20.csproj
<Compile Include="..\Shared\PiCalculator+InternalPiDigitCalculator.cs">
<Link>PiCalculator+InternalPiDigitCalculator.cs</Link>
</Compile>
+ <Compile Include="..\Shared\Cryptographer.cs">
+ <Link>Cryptographer.cs</Link>
+ </Compile>
<Compile Include="..\Shared\DoWorkEventArgs.cs">
<Link>DoWorkEventArgs.cs</Link>
</Compile>
<Compile Include="..\Shared\PiCalculator.cs">
<Link>PiCalculator.cs</Link>
</Compile>
+ <PackageReference Include="System.Linq.Async" Version="4.0.0" />
</ItemGroup>
</Project>

MODIFY
src/Chapter21/Chapter21.csproj
src/Chapter21/Chapter21.csproj
<Compile Include="..\Shared\PiCalculator+InternalPiDigitCalculator.cs">
<Link>PiCalculator+InternalPiDigitCalculator.cs</Link>
</Compile>
+ <Compile Include="..\Shared\Cryptographer.cs">
+ <Link>Cryptographer.cs</Link>
+ </Compile>
<Compile Include="..\Shared\DoWorkEventArgs.cs">
<Link>DoWorkEventArgs.cs</Link>
</Compile>

RENAME
src/Chapter20/Cryptographer.cs
src/Shared/Cryptographer.cs
Adjusted files following split
Move files that were commong between multiple projects
Updated namespaces for files that had moved.