diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 61bfb88aa..1b710a729 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,8 +15,8 @@ jobs:
with:
dotnet-version: '8.0.x'
- #- name: Build and check
- #run: dotnet run --project ./build -- check
+ - name: Build and check
+ run: dotnet run --project ./build -- check
- name: Publish Blazor example
run: dotnet run --project ./build -- publish
diff --git a/readme/ArrayDetails.md b/readme/ArrayDetails.md
index ff34c7d2b..8dcac4151 100644
--- a/readme/ArrayDetails.md
+++ b/readme/ArrayDetails.md
@@ -116,14 +116,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Array
{
- private readonly Array _rootM03D08di;
+ private readonly Array _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Array()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -132,7 +132,7 @@ partial class Array
/// Base composition.
internal Array(Array baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -156,7 +156,7 @@ partial class Array
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -170,7 +170,7 @@ partial class Array
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -183,10 +183,10 @@ partial class Array
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -207,10 +207,10 @@ partial class Array
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -303,26 +303,26 @@ partial class Array
" Array ..> CompositionRoot : CompositionRoot PureDIByCR";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Array()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Array composite)
{
@@ -335,7 +335,7 @@ partial class Array
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.Benchmarks.Model.CompositionRoot Resolve(Array composition)
{
diff --git a/readme/BlazorWebAssemblyApp.md b/readme/BlazorWebAssemblyApp.md
index f79b3905a..aa241455c 100644
--- a/readme/BlazorWebAssemblyApp.md
+++ b/readme/BlazorWebAssemblyApp.md
@@ -2,6 +2,8 @@
[![CSharp](https://img.shields.io/badge/C%23-code-blue.svg)](/samples/BlazorServerApp)
+[Here's an example](https://devteam.github.io/Pure.DI/) on github.io
+
This example demonstrates the creation of a [Blazor WebAssembly](https://learn.microsoft.com/en-us/aspnet/core/blazor/hosting-models#blazor-webassembly) application in the pure DI paradigm using the _Pure.DI_ code generator.
Composition setup file is [Composition.cs](/samples/BlazorWebAssemblyApp/Composition.cs):
diff --git a/readme/EnumDetails.md b/readme/EnumDetails.md
index e2892dbd0..aee53e585 100644
--- a/readme/EnumDetails.md
+++ b/readme/EnumDetails.md
@@ -116,14 +116,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Enum
{
- private readonly Enum _rootM03D08di;
+ private readonly Enum _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Enum()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -132,7 +132,7 @@ partial class Enum
/// Base composition.
internal Enum(Enum baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -142,15 +142,15 @@ partial class Enum
public partial Pure.DI.Benchmarks.Model.CompositionRoot PureDIByCR()
{
[global::System.Runtime.CompilerServices.MethodImpl((global::System.Runtime.CompilerServices.MethodImplOptions)0x200)]
- System.Collections.Generic.IEnumerable LocalperBlockM03D08di10_IEnumerable()
+ System.Collections.Generic.IEnumerable LocalperBlockM03D09di10_IEnumerable()
{
yield return new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
yield return new Pure.DI.Benchmarks.Model.Service3v2(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
yield return new Pure.DI.Benchmarks.Model.Service3v3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
yield return new Pure.DI.Benchmarks.Model.Service3v4(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
}
- var perBlockM03D08di10_IEnumerable = LocalperBlockM03D08di10_IEnumerable();
- return new Pure.DI.Benchmarks.Model.CompositionRoot(new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D08di10_IEnumerable)), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D08di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D08di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D08di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4()), new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
+ var perBlockM03D09di10_IEnumerable = LocalperBlockM03D09di10_IEnumerable();
+ return new Pure.DI.Benchmarks.Model.CompositionRoot(new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D09di10_IEnumerable)), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D09di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D09di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service2Enum(perBlockM03D09di10_IEnumerable), new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4()), new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
}
#endregion
@@ -165,7 +165,7 @@ partial class Enum
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -179,7 +179,7 @@ partial class Enum
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -192,10 +192,10 @@ partial class Enum
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -216,10 +216,10 @@ partial class Enum
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -312,26 +312,26 @@ partial class Enum
" Enum ..> CompositionRoot : CompositionRoot PureDIByCR";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Enum()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Enum composite)
{
@@ -344,7 +344,7 @@ partial class Enum
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.Benchmarks.Model.CompositionRoot Resolve(Enum composition)
{
diff --git a/readme/FuncDetails.md b/readme/FuncDetails.md
index bc188c21b..eb86fc067 100644
--- a/readme/FuncDetails.md
+++ b/readme/FuncDetails.md
@@ -95,14 +95,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Func
{
- private readonly Func _rootM03D08di;
+ private readonly Func _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Func()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -111,7 +111,7 @@ partial class Func
/// Base composition.
internal Func(Func baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -120,14 +120,14 @@ partial class Func
#endif
public partial Pure.DI.Benchmarks.Model.CompositionRoot PureDIByCR()
{
- System.Func perBlockM03D08di10_Func = new Func(
+ System.Func perBlockM03D09di10_Func = new Func(
[global::System.Runtime.CompilerServices.MethodImpl((global::System.Runtime.CompilerServices.MethodImplOptions)768)]
() =>
{
- var value_M03D08di1 = new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
- return value_M03D08di1;
+ var value_M03D09di1 = new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
+ return value_M03D09di1;
});
- return new Pure.DI.Benchmarks.Model.CompositionRoot(new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D08di10_Func)), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D08di10_Func), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D08di10_Func), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D08di10_Func), new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4()), new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
+ return new Pure.DI.Benchmarks.Model.CompositionRoot(new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D09di10_Func)), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D09di10_Func), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D09di10_Func), new Pure.DI.Benchmarks.Model.Service2Func(perBlockM03D09di10_Func), new Pure.DI.Benchmarks.Model.Service3(new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4()), new Pure.DI.Benchmarks.Model.Service4(), new Pure.DI.Benchmarks.Model.Service4());
}
#endregion
@@ -142,7 +142,7 @@ partial class Func
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -156,7 +156,7 @@ partial class Func
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -169,10 +169,10 @@ partial class Func
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -193,10 +193,10 @@ partial class Func
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -268,26 +268,26 @@ partial class Func
" FuncᐸIService3ᐳ *-- Service3 : IService3";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Func()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Func composite)
{
@@ -300,7 +300,7 @@ partial class Func
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.Benchmarks.Model.CompositionRoot Resolve(Func composition)
{
diff --git a/readme/SingletonDetails.md b/readme/SingletonDetails.md
index da6db8ea2..cfe513c19 100644
--- a/readme/SingletonDetails.md
+++ b/readme/SingletonDetails.md
@@ -97,16 +97,16 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Singleton
{
- private readonly Singleton _rootM03D08di;
- private Pure.DI.Benchmarks.Model.Service1 _scopedM03D08di35_Service1;
- private Pure.DI.Benchmarks.Model.Service4 _scopedM03D08di38_Service4;
+ private readonly Singleton _rootM03D09di;
+ private Pure.DI.Benchmarks.Model.Service1 _scopedM03D09di35_Service1;
+ private Pure.DI.Benchmarks.Model.Service4 _scopedM03D09di38_Service4;
///
/// This constructor creates a new instance of .
///
public Singleton()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -115,7 +115,7 @@ partial class Singleton
/// Base composition.
internal Singleton(Singleton baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -124,15 +124,15 @@ partial class Singleton
#endif
public partial Pure.DI.Benchmarks.Model.CompositionRoot PureDIByCR()
{
- if (ReferenceEquals(_scopedM03D08di38_Service4, null))
+ if (ReferenceEquals(_scopedM03D09di38_Service4, null))
{
- _scopedM03D08di38_Service4 = new Pure.DI.Benchmarks.Model.Service4();
+ _scopedM03D09di38_Service4 = new Pure.DI.Benchmarks.Model.Service4();
}
- if (ReferenceEquals(_scopedM03D08di35_Service1, null))
+ if (ReferenceEquals(_scopedM03D09di35_Service1, null))
{
- _scopedM03D08di35_Service1 = new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4)));
+ _scopedM03D09di35_Service1 = new Pure.DI.Benchmarks.Model.Service1(new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4)));
}
- return new Pure.DI.Benchmarks.Model.CompositionRoot(_scopedM03D08di35_Service1, new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4)), new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4)), new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4)), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D08di38_Service4, _scopedM03D08di38_Service4), _scopedM03D08di38_Service4, _scopedM03D08di38_Service4);
+ return new Pure.DI.Benchmarks.Model.CompositionRoot(_scopedM03D09di35_Service1, new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4)), new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4)), new Pure.DI.Benchmarks.Model.Service2(new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4)), new Pure.DI.Benchmarks.Model.Service3(_scopedM03D09di38_Service4, _scopedM03D09di38_Service4), _scopedM03D09di38_Service4, _scopedM03D09di38_Service4);
}
#endregion
@@ -147,7 +147,7 @@ partial class Singleton
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -161,7 +161,7 @@ partial class Singleton
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -174,10 +174,10 @@ partial class Singleton
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -198,10 +198,10 @@ partial class Singleton
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -275,26 +275,26 @@ partial class Singleton
" Singleton ..> CompositionRoot : CompositionRoot PureDIByCR";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Singleton()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Singleton composite)
{
@@ -307,7 +307,7 @@ partial class Singleton
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.Benchmarks.Model.CompositionRoot Resolve(Singleton composition)
{
diff --git a/readme/TransientDetails.md b/readme/TransientDetails.md
index 82c6f1f2c..f95645964 100644
--- a/readme/TransientDetails.md
+++ b/readme/TransientDetails.md
@@ -97,14 +97,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Transient
{
- private readonly Transient _rootM03D08di;
+ private readonly Transient _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Transient()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -113,7 +113,7 @@ partial class Transient
/// Base composition.
internal Transient(Transient baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -137,7 +137,7 @@ partial class Transient
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -151,7 +151,7 @@ partial class Transient
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -164,10 +164,10 @@ partial class Transient
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -188,10 +188,10 @@ partial class Transient
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -265,26 +265,26 @@ partial class Transient
" Transient ..> CompositionRoot : CompositionRoot PureDIByCR";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Transient()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.Benchmarks.Model.CompositionRoot), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Transient composite)
{
@@ -297,7 +297,7 @@ partial class Transient
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.Benchmarks.Model.CompositionRoot Resolve(Transient composition)
{
diff --git a/readme/a-few-partial-classes.md b/readme/a-few-partial-classes.md
index f627c5159..54d2c9974 100644
--- a/readme/a-few-partial-classes.md
+++ b/readme/a-few-partial-classes.md
@@ -107,14 +107,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Composition
{
- private readonly Composition _rootM03D08di;
+ private readonly Composition _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Composition()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -123,7 +123,7 @@ partial class Composition
/// Base composition.
internal Composition(Composition baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -150,7 +150,7 @@ partial class Composition
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -164,7 +164,7 @@ partial class Composition
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -177,10 +177,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -201,10 +201,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -247,26 +247,26 @@ partial class Composition
" Composition ..> Service : IService Root";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Composition()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Basics.SeveralPartialClassesScenario.IService), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Basics.SeveralPartialClassesScenario.IService), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Composition composite)
{
@@ -279,7 +279,7 @@ partial class Composition
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.UsageTests.Basics.SeveralPartialClassesScenario.IService Resolve(Composition composition)
{
diff --git a/readme/abstractions-binding.md b/readme/abstractions-binding.md
index f50395bfc..0fedc462d 100644
--- a/readme/abstractions-binding.md
+++ b/readme/abstractions-binding.md
@@ -118,14 +118,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Composition
{
- private readonly Composition _rootM03D08di;
+ private readonly Composition _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Composition()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -134,7 +134,7 @@ partial class Composition
/// Base composition.
internal Composition(Composition baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -148,8 +148,8 @@ partial class Composition
#endif
get
{
- var perBlockM03D08di1_Dependency = new Pure.DI.UsageTests.Basics.SimpleBindingScenario.Dependency();
- return new Pure.DI.UsageTests.Basics.SimpleBindingScenario.Service(perBlockM03D08di1_Dependency, perBlockM03D08di1_Dependency, perBlockM03D08di1_Dependency);
+ var perBlockM03D09di1_Dependency = new Pure.DI.UsageTests.Basics.SimpleBindingScenario.Dependency();
+ return new Pure.DI.UsageTests.Basics.SimpleBindingScenario.Service(perBlockM03D09di1_Dependency, perBlockM03D09di1_Dependency, perBlockM03D09di1_Dependency);
}
}
#endregion
diff --git a/readme/advanced-interception.md b/readme/advanced-interception.md
index 98a3c3abb..068a13ce0 100644
--- a/readme/advanced-interception.md
+++ b/readme/advanced-interception.md
@@ -175,14 +175,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Composition
{
- private readonly Composition _rootM03D08di;
+ private readonly Composition _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Composition()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -191,7 +191,7 @@ partial class Composition
/// Base composition.
internal Composition(Composition baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -218,7 +218,7 @@ partial class Composition
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -232,7 +232,7 @@ partial class Composition
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -245,10 +245,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -269,10 +269,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -317,26 +317,26 @@ partial class Composition
" Composition ..> Service : IService Root";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Composition()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Interception.AdvancedInterceptionScenario.IService), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Interception.AdvancedInterceptionScenario.IService), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Composition composite)
{
@@ -349,7 +349,7 @@ partial class Composition
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.UsageTests.Interception.AdvancedInterceptionScenario.IService Resolve(Composition composition)
{
diff --git a/readme/arguments.md b/readme/arguments.md
index b964cc14c..3ccd6a6b9 100644
--- a/readme/arguments.md
+++ b/readme/arguments.md
@@ -120,9 +120,9 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Composition
{
- private readonly Composition _rootM03D08di;
- private readonly int _argM03D08di_id;
- private readonly string _argM03D08di_serviceName;
+ private readonly Composition _rootM03D09di;
+ private readonly int _argM03D09di_id;
+ private readonly string _argM03D09di_serviceName;
///
/// This parameterized constructor creates a new instance of with arguments.
@@ -136,14 +136,14 @@ partial class Composition
///
public Composition(int id, string serviceName)
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
if (ReferenceEquals(serviceName, null))
{
throw new global::System.ArgumentNullException("serviceName");
}
- _argM03D08di_id = id;
- _argM03D08di_serviceName = serviceName;
+ _argM03D09di_id = id;
+ _argM03D09di_serviceName = serviceName;
}
///
@@ -152,9 +152,9 @@ partial class Composition
/// Base composition.
internal Composition(Composition baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
- _argM03D08di_id = baseComposition._argM03D08di_id;
- _argM03D08di_serviceName = baseComposition._argM03D08di_serviceName;
+ _rootM03D09di = baseComposition._rootM03D09di;
+ _argM03D09di_id = baseComposition._argM03D09di_id;
+ _argM03D09di_serviceName = baseComposition._argM03D09di_serviceName;
}
#region Composition Roots
@@ -165,7 +165,7 @@ partial class Composition
#endif
get
{
- return new Pure.DI.UsageTests.Basics.ArgumentsScenario.Service(_argM03D08di_serviceName, new Pure.DI.UsageTests.Basics.ArgumentsScenario.Dependency(_argM03D08di_id));
+ return new Pure.DI.UsageTests.Basics.ArgumentsScenario.Service(_argM03D09di_serviceName, new Pure.DI.UsageTests.Basics.ArgumentsScenario.Dependency(_argM03D09di_id));
}
}
#endregion
@@ -181,7 +181,7 @@ partial class Composition
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -195,7 +195,7 @@ partial class Composition
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -208,10 +208,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -232,10 +232,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -282,26 +282,26 @@ partial class Composition
" Composition ..> Service : IService Root";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Composition()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Basics.ArgumentsScenario.IService), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.Basics.ArgumentsScenario.IService), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver Value = new ResolverM03D08di();
+ public static global::Pure.DI.IResolver Value = new ResolverM03D09di();
public T Resolve(Composition composite)
{
@@ -314,7 +314,7 @@ partial class Composition
}
}
- private sealed class ResolverM03D08di_0000: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di_0000: global::Pure.DI.IResolver
{
public Pure.DI.UsageTests.Basics.ArgumentsScenario.IService Resolve(Composition composition)
{
diff --git a/readme/array.md b/readme/array.md
index c7c5267a2..22ced43c6 100644
--- a/readme/array.md
+++ b/readme/array.md
@@ -132,14 +132,14 @@ classDiagram
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class Composition
{
- private readonly Composition _rootM03D08di;
+ private readonly Composition _rootM03D09di;
///
/// This constructor creates a new instance of .
///
public Composition()
{
- _rootM03D08di = this;
+ _rootM03D09di = this;
}
///
@@ -148,7 +148,7 @@ partial class Composition
/// Base composition.
internal Composition(Composition baseComposition)
{
- _rootM03D08di = baseComposition._rootM03D08di;
+ _rootM03D09di = baseComposition._rootM03D09di;
}
#region Composition Roots
@@ -175,7 +175,7 @@ partial class Composition
#endif
public T Resolve()
{
- return ResolverM03D08di.Value.Resolve(this);
+ return ResolverM03D09di.Value.Resolve(this);
}
///
@@ -189,7 +189,7 @@ partial class Composition
#endif
public T Resolve(object? tag)
{
- return ResolverM03D08di.Value.ResolveByTag(this, tag);
+ return ResolverM03D09di.Value.ResolveByTag(this, tag);
}
///
@@ -202,10 +202,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.Resolve(this);
@@ -226,10 +226,10 @@ partial class Composition
#endif
public object Resolve(global::System.Type type, object? tag)
{
- var index = (int)(_bucketSizeM03D08di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
- var finish = index + _bucketSizeM03D08di;
+ var index = (int)(_bucketSizeM03D09di * ((uint)global::System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(type) % 1));
+ var finish = index + _bucketSizeM03D09di;
do {
- ref var pair = ref _bucketsM03D08di[index];
+ ref var pair = ref _bucketsM03D09di[index];
if (ReferenceEquals(pair.Key, type))
{
return pair.Value.ResolveByTag(this, tag);
@@ -279,26 +279,26 @@ partial class Composition
" Composition ..> Service : IService Root";
}
- private readonly static int _bucketSizeM03D08di;
- private readonly static global::Pure.DI.Pair>[] _bucketsM03D08di;
+ private readonly static int _bucketSizeM03D09di;
+ private readonly static global::Pure.DI.Pair>[] _bucketsM03D09di;
static Composition()
{
- var valResolverM03D08di_0000 = new ResolverM03D08di_0000();
- ResolverM03D08di.Value = valResolverM03D08di_0000;
- _bucketsM03D08di = global::Pure.DI.Buckets>.Create(
+ var valResolverM03D09di_0000 = new ResolverM03D09di_0000();
+ ResolverM03D09di.Value = valResolverM03D09di_0000;
+ _bucketsM03D09di = global::Pure.DI.Buckets>.Create(
1,
- out _bucketSizeM03D08di,
+ out _bucketSizeM03D09di,
new global::Pure.DI.Pair>[1]
{
- new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.BCL.ArrayScenario.IService), valResolverM03D08di_0000)
+ new global::Pure.DI.Pair>(typeof(Pure.DI.UsageTests.BCL.ArrayScenario.IService), valResolverM03D09di_0000)
});
}
#region Resolvers
- private sealed class ResolverM03D08di: global::Pure.DI.IResolver
+ private sealed class ResolverM03D09di: global::Pure.DI.IResolver
{
- public static global::Pure.DI.IResolver