GreyhamWooHoo.Interceptor.Core 1.1.4

Intercept calls to an interface before or after the concrete implementation is invoked.

Install-Package GreyhamWooHoo.Interceptor.Core -Version 1.1.4
dotnet add package GreyhamWooHoo.Interceptor.Core --version 1.1.4
<PackageReference Include="GreyhamWooHoo.Interceptor.Core" Version="1.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GreyhamWooHoo.Interceptor.Core --version 1.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1.1.4
- Fixed a bug where OnAfter would be called for all After rules, not just the matching one

1.1.3
- Stub and OnAfter include parameters and arguments for the method call
- Improved internal code relating to stubbing void methods

1.1.2
- Support for multiple Before and multiple After callouts

1.1.1
- Adding support for method / return value interrogators
- Consolidated the async, Void and Task implementations (wrong assumptions/knowledge gap on my part)
- Tests consolidated / renamed
- Breaking Changes:
1. Prior implementation: non-generic Tasks were always assumed to be void (HasReturnValue=false on callout)
2. 1.1.1 Implementation: non-generic Tasks will interpret the .Result and callout with the correct result

1.0.9:
- Adding async void methods, extra tests
- Includes generic and non-generic builder interfaces (backwards compatible)

1.0.8:
- Adding support for async tasks / methods

1.0.7:
- Initial release.

  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.4 316 3/23/2020
1.1.3 590 2/22/2020
1.1.2 180 2/22/2020
1.1.1 202 2/22/2020
1.0.9 985 1/31/2020
1.0.8 114 1/29/2020
1.0.7 289 1/25/2020