-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 5bd4b32 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Mar 7 00:29:26 2022 +0100 Update stashbox.csproj commit 73712d6 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Mar 7 00:00:47 2022 +0100 Update changelog commit daf5515 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Sun Mar 6 23:18:31 2022 +0100 Update CHANGELOG.md commit 5c28d00 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Sun Mar 6 22:34:11 2022 +0100 Update 114_Unable_to_resolve_IHubContext.cs commit 4c754b9 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Sun Mar 6 22:33:25 2022 +0100 Fix for #114 commit 31da8fb Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 13:29:36 2022 +0100 Update docs commit a705b77 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 03:34:52 2022 +0100 Update docs commit 9a3d4c6 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 03:24:36 2022 +0100 Update RequestContext.cs commit 84dcaa7 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 03:19:25 2022 +0100 Update docs commit efce1da Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 03:14:59 2022 +0100 Update changelog & docs commit 29a3c6b Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 02:43:09 2022 +0100 Pack readme commit 1909815 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Thu Mar 3 01:11:52 2022 +0100 Remove automatic pre-release package deployment to NuGet commit 1acdd37 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Wed Mar 2 23:50:13 2022 +0100 Update changelog, add ResolveFactoryOrDefault() commit 1015495 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Wed Mar 2 17:44:14 2022 +0100 Ability to exclude instance from dispose tracking in factory delegates commit 74a99c2 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Tue Mar 1 21:21:09 2022 +0100 Refactor commit f0b5559 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Tue Mar 1 20:31:56 2022 +0100 Refactor commit fd96834 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Tue Mar 1 02:48:21 2022 +0100 Enable null-safety commit adbc669 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Feb 28 18:50:18 2022 +0100 ServiceRegistration refactor commit eccbe95 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Feb 28 03:46:12 2022 +0100 Eliminate MemberwiseClone() usages commit 44da27d Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Feb 28 01:37:11 2022 +0100 More tests commit 799557d Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Mon Feb 28 01:19:16 2022 +0100 Small refactor commit b3b6962 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Sun Feb 27 18:36:13 2022 +0100 Include dev branch in workflows commit 3159cb5 Author: Peter Csajtai <peter.csajtai@outlook.com> Date: Sun Feb 27 18:34:11 2022 +0100 ValueTuple support & ResolveOrDefault()
- Loading branch information
Showing
148 changed files
with
2,750 additions
and
1,397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.1.0 | ||
5.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
extern alias from_nuget; | ||
extern alias from_project; | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Stashbox.Benchmarks | ||
{ | ||
[MemoryDiagnoser] | ||
public class DecoratorBenchmarks | ||
{ | ||
private readonly from_nuget::Stashbox.IStashboxContainer oldContainer = | ||
new from_nuget::Stashbox.StashboxContainer(); | ||
|
||
private readonly from_project::Stashbox.IStashboxContainer newContainer = | ||
new from_project::Stashbox.StashboxContainer(); | ||
|
||
[GlobalSetup] | ||
public void Setup() | ||
{ | ||
this.oldContainer.Register<IA, A>() | ||
.RegisterDecorator<IA, ADec>(); | ||
|
||
this.newContainer.Register<IA, A>() | ||
.RegisterDecorator<IA, ADec>(); | ||
} | ||
|
||
[Benchmark(Baseline = true)] | ||
public object Old() | ||
{ | ||
return this.oldContainer.Resolve(typeof(IA)); | ||
} | ||
|
||
[Benchmark] | ||
public object New() | ||
{ | ||
return this.newContainer.Resolve(typeof(IA)); | ||
} | ||
|
||
interface IA { } | ||
|
||
class A : IA { } | ||
|
||
class ADec : IA | ||
{ | ||
public ADec(IA a) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.