Skip to content

Commit

Permalink
Updating internal Pure.DI to 2.1.44
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov committed Dec 20, 2024
1 parent 4da6876 commit 13bbe3b
Show file tree
Hide file tree
Showing 55 changed files with 77 additions and 72 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<InternalVersion>2.1.43</InternalVersion>
<InternalVersion>2.1.44</InternalVersion>
<BasePackageId>Pure.DI</BasePackageId>
<LangVersion>latest</LangVersion>
<BaseTargetFramework>net9.0</BaseTargetFramework>
Expand Down
2 changes: 1 addition & 1 deletion readme/Avalonia.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ The [project file](/samples/AvaloniaApp/AvaloniaApp.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/BlazorServerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The [project file](/samples/BlazorServerApp/BlazorServerApp.csproj) looks like t
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/BlazorWebAssemblyApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The [project file](/samples/BlazorWebAssemblyApp/BlazorWebAssemblyApp.csproj) lo
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/Console.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The [project file](/samples/ShroedingersCat/ShroedingersCat.csproj) looks like t
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/ConsoleNativeAOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The [project file](/samples/ShroedingersCatNativeAOT/ShroedingersCatNativeAOT.cs
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/ConsoleTopLevelStatements.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The [project file](/samples/ShroedingersCatTopLevelStatements/ShroedingersCatTop
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/GrpcService.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The [project file](/samples/GrpcService/GrpcService.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/Maui.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The [project file](/samples/MAUIApp/MAUIApp.csproj) looks like this:
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"/>
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)"/>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0"/>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/MinimalWebAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The [project file](/samples/WebAPI/WebAPI.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions readme/SingletonDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ partial class Singleton
_scopedService444 = new Service4();
}

_scopedService141 = new Service1(new Service2(new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!)));
_scopedService141 = new Service1(new Service2(new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444)));
}

return new CompositionRoot(_scopedService141!, new Service2(new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!)), new Service2(new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!)), new Service2(new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!), new Service3(_scopedService444!, _scopedService444!)), new Service3(_scopedService444!, _scopedService444!), _scopedService444!, _scopedService444!);
return new CompositionRoot(_scopedService141, new Service2(new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444)), new Service2(new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444)), new Service2(new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444), new Service3(_scopedService444, _scopedService444)), new Service3(_scopedService444, _scopedService444), _scopedService444, _scopedService444);
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down
2 changes: 1 addition & 1 deletion readme/WebAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The [project file](/samples/WebAPI/WebAPI.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/WebApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The [project file](/samples/WebApp/WebApp.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/WinFormsApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The [project file](/samples/WinFormsApp/WinFormsApp.csproj) looks like this:
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/WinFormsAppNetCore.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The [project file](/samples/WinFormsAppNetCore/WinFormsAppNetCore.csproj) looks
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/Wpf.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The [project file](/samples/WpfAppNetCore/WpfAppNetCore.csproj) looks like this:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pure.DI" Version="2.1.43">
<PackageReference Include="Pure.DI" Version="2.1.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion readme/accumulators.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ partial class Composition
{
accumulator48.Add(transientAbcDependency3);
}
Service transientService1 = new Service(transientAbcDependency3, _root._singletonXyzDependency45!, perBlockAbcDependency4);
Service transientService1 = new Service(transientAbcDependency3, _root._singletonXyzDependency45, perBlockAbcDependency4);
using (_lock.EnterScope())
{
accumulator48.Add(transientService1);
Expand Down
2 changes: 1 addition & 1 deletion readme/async-disposable-scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ partial class Composition: IDisposable, IAsyncDisposable
}
}

return new Service(_scopedDependency43!);
return new Service(_scopedDependency43);
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme/async-disposable-singleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ partial class Composition: IDisposable, IAsyncDisposable
}
}

return new Service(_root._singletonDependency43!);
return new Service(_root._singletonDependency43);
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme/auto-scoped.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ partial class Composition
}
}

return new Service(_scopedDependency43!);
return new Service(_scopedDependency43);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/bind-attribute-for-a-generic-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ partial class Composition
}

IDependency<int> transientIDependency1;
Facade localInstance_1182D12744 = _root._singletonFacade43!;
Facade localInstance_1182D12744 = _root._singletonFacade43;
transientIDependency1 = localInstance_1182D12744.GetDependency<int>();
return new Service(transientIDependency1);
}
Expand Down
4 changes: 2 additions & 2 deletions readme/bind-attribute-with-lifetime-and-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ partial class Composition
_root._singletonFacade43 = new Facade();
}

Facade localInstance_1182D12746 = _root._singletonFacade43!;
Facade localInstance_1182D12746 = _root._singletonFacade43;
_root._singletonIDependency0 = localInstance_1182D12746.Dependency;
}
}
}

return new Service(_root._singletonIDependency0!);
return new Service(_root._singletonIDependency0);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/bind-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ partial class Composition
}

IDependency transientIDependency1;
Facade localInstance_1182D12745 = _root._singletonFacade43!;
Facade localInstance_1182D12745 = _root._singletonFacade43;
transientIDependency1 = localInstance_1182D12745.Dependency;
return new Service(transientIDependency1);
}
Expand Down
2 changes: 1 addition & 1 deletion readme/default-lifetime-for-a-type-and-a-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ partial class Composition
}
}

return new Service(_root._singletonDependency43!, _root._singletonDependency44!);
return new Service(_root._singletonDependency43, _root._singletonDependency44);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/default-lifetime-for-a-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ partial class Composition
}
}

return new Service(_root._singletonDependency43!, _root._singletonDependency43!);
return new Service(_root._singletonDependency43, _root._singletonDependency43);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions readme/default-lifetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ partial class Composition
_root._singletonDependency43 = new Dependency();
}

_root._singletonService44 = new Service(_root._singletonDependency43!, _root._singletonDependency43!);
_root._singletonService44 = new Service(_root._singletonDependency43, _root._singletonDependency43);
}
}
}

return _root._singletonService44!;
return _root._singletonService44;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/disposable-singleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ partial class Composition: IDisposable
}
}

return new Service(_root._singletonDependency43!);
return new Service(_root._singletonDependency43);
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme/exposed-generic-roots-with-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ partial class Composition

Integration.IMyGenericService<int> transientIMyGenericService1;
int localId3 = id;
Integration.CompositionWithGenericRootsAndArgsInOtherProject localInstance_1182D1274 = _root._singletonCompositionWithGenericRootsAndArgsInOtherProject44!;
Integration.CompositionWithGenericRootsAndArgsInOtherProject localInstance_1182D1274 = _root._singletonCompositionWithGenericRootsAndArgsInOtherProject44;
transientIMyGenericService1 = localInstance_1182D1274.GetMyService<int>(localId3);
return new Program(transientIMyGenericService1);
}
Expand Down
2 changes: 1 addition & 1 deletion readme/exposed-generic-roots.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ partial class Composition
}

Integration.IMyGenericService<int> transientIMyGenericService1;
Integration.CompositionWithGenericRootsInOtherProject localInstance_1182D1272 = _root._singletonCompositionWithGenericRootsInOtherProject43!;
Integration.CompositionWithGenericRootsInOtherProject localInstance_1182D1272 = _root._singletonCompositionWithGenericRootsInOtherProject43;
transientIMyGenericService1 = localInstance_1182D1272.GetMyService<int>();
return new Program(transientIMyGenericService1);
}
Expand Down
2 changes: 1 addition & 1 deletion readme/exposed-roots-with-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ partial class Composition
}

Integration.IMyService transientIMyService1;
Integration.CompositionWithTagsInOtherProject localInstance_1182D1278 = _root._singletonCompositionWithTagsInOtherProject43!;
Integration.CompositionWithTagsInOtherProject localInstance_1182D1278 = _root._singletonCompositionWithTagsInOtherProject43;
transientIMyService1 = localInstance_1182D1278.MyService;
return new Program(transientIMyService1);
}
Expand Down
2 changes: 1 addition & 1 deletion readme/exposed-roots.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ partial class Composition
}

Integration.IMyService transientIMyService1;
Integration.CompositionInOtherProject localInstance_1182D1275 = _root._singletonCompositionInOtherProject43!;
Integration.CompositionInOtherProject localInstance_1182D1275 = _root._singletonCompositionInOtherProject43;
transientIMyService1 = localInstance_1182D1275.MyService;
return new Program(transientIMyService1);
}
Expand Down
2 changes: 1 addition & 1 deletion readme/func-with-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ partial class Composition
}
}

Dependency localDependency56 = new Dependency(_root._singletonClock43!, transientInt323, transientInt324);
Dependency localDependency56 = new Dependency(_root._singletonClock43, transientInt323, transientInt324);
return localDependency56;
};
return new Service(transientFunc1);
Expand Down
4 changes: 2 additions & 2 deletions readme/keyed-service-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ partial class Composition
}
}

return _root._singletonDependency43!;
return _root._singletonDependency43;
}
}

Expand All @@ -104,7 +104,7 @@ partial class Composition
}
}

return new Service(_root._singletonDependency43!);
return new Service(_root._singletonDependency43);
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme/onnewinstance-hint.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ partial class Composition
}
}

Service transientService0 = new Service(_root._singletonDependency43!);
Service transientService0 = new Service(_root._singletonDependency43);
OnNewInstance<Service>(ref transientService0, null, Lifetime.Transient);
return transientService0;
}
Expand Down
4 changes: 2 additions & 2 deletions readme/perresolve.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ partial class Composition
perResolveDependency43 = new Dependency();
}

_root._singletonValueTuple44 = (perResolveDependency43!, perResolveDependency43!);
_root._singletonValueTuple44 = (perResolveDependency43, perResolveDependency43);
Thread.MemoryBarrier();
_root._singletonValueTuple44Created = true;
}
Expand All @@ -103,7 +103,7 @@ partial class Composition
}
}

return new Service(perResolveDependency43!, perResolveDependency43!, _root._singletonValueTuple44);
return new Service(perResolveDependency43, perResolveDependency43, _root._singletonValueTuple44);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/root-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ partial class Composition
}
}

return new Service(_root._singletonDependency43!);
return new Service(_root._singletonDependency43);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme/scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ partial class Composition: IDisposable
}
}

return new Service(_scopedDependency43!);
return new Service(_scopedDependency43);
}
}

Expand Down
4 changes: 2 additions & 2 deletions readme/service-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ partial class Composition
}
}

return _root._singletonDependency43!;
return _root._singletonDependency43;
}
}

Expand All @@ -101,7 +101,7 @@ partial class Composition
}
}

return new Service(_root._singletonDependency43!);
return new Service(_root._singletonDependency43);
}
}

Expand Down
Loading

0 comments on commit 13bbe3b

Please sign in to comment.