Skip to content

Commit 9812bde

Browse files
Merge pull request #55 from blacktau/feature/cancellation-token-2
Feature/cancellation token 2 All comments addressed. Thanks Sean!
2 parents d166feb + 3b6b08a commit 9812bde

File tree

205 files changed

+47768
-5641
lines changed

Some content is hidden

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

205 files changed

+47768
-5641
lines changed

.vs/MongoDbGenericRepository/v14/.suo

-28 KB
Binary file not shown.

.vs/config/applicationhost.config

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

CoreIntegrationTests/CoreIntegrationTests.csproj

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
88
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.1.2" />
99
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="2.1.2" />
10-
<PackageReference Include="MongoDB.Driver" Version="2.13.2" />
11-
<PackageReference Include="xunit" Version="2.4.1" />
12-
<PackageReference Include="xunit.runner.console" Version="2.4.1">
10+
<PackageReference Include="MongoDB.Driver" Version="2.15.0" />
11+
<PackageReference Include="xunit" Version="2.5.0" />
12+
<PackageReference Include="xunit.runner.console" Version="2.5.0">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
17-
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.0-beta4-build3742" />
18-
</ItemGroup>
19-
20-
<ItemGroup>
21-
<Reference Include="System.Configuration">
22-
<HintPath>..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Configuration.dll</HintPath>
23-
</Reference>
16+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
17+
<PrivateAssets>all</PrivateAssets>
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
</PackageReference>
20+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
2421
</ItemGroup>
2522

2623
<ItemGroup>

CoreIntegrationTests/Infrastructure/BaseMongoDbRepositoryTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ public void Cleanup()
6262
}
6363

6464
#region IDisposable Support
65-
private bool disposedValue = false; // Pour détecter les appels redondants
65+
private bool _disposedValue; // Pour détecter les appels redondants
6666

6767
protected virtual void Dispose(bool disposing)
6868
{
69-
if (!disposedValue)
69+
if (!_disposedValue)
7070
{
7171
if (disposing)
7272
{
7373
Cleanup();
7474
}
7575

76-
disposedValue = true;
76+
_disposedValue = true;
7777
}
7878
}
7979

CoreIntegrationTests/Infrastructure/MongoDbConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ namespace CoreIntegrationTests.Infrastructure
55
{
66
internal static class MongoDbConfig
77
{
8-
private static bool _initialized = false;
9-
private static object _initializationLock = new object();
8+
private static bool _initialized;
9+
private static object _initializationLock = new();
1010
private static object _initializationTarget;
1111

1212
public static void EnsureConfigured()

0 commit comments

Comments
 (0)