Cauldron.Interception.Fody 3.2.3

Fody add-in that provides custom interception. Supports Net45, NetStandard2.0 and UWP.
     Method, Property, Constructor and Field interceptors can be found in the package Cauldron.BasicInterceptors (Cauldron.BasicInterceptors)

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

Release Notes

2018.10.28 - [B] Minor bugs in resolving types fixed.
     2018.10.27 - [C] Builds now cancels without delay.
     2018.10.17 - [C] Now using CS-Script to compile csx files.
     2018.10.16 - [B] Switches were not copied correctly in methods
     2018.08.02 - [B] Multiple execution of OnEnter on async methods bug is fixed
     2018.08.01 - [B] GetParametersArray was still broken - now fixed
     2018.06.29 - [B] Scripting build bug that caused Cauldron not to rebuild changed scripts, solved
     2018.06.18 - [B] GetParametersArray was broken
     2018.06.03 - [A] Searches csproj.nuget.g.props file for interceptors
     2018.06.03 - [A] Searches project.assets.json file for interceptors
     2018.06.03 - [A] Support for project "linked" interceptors.
     2018.05.23 - [B] Bug that causes an exception while weaving in Net47 fixed.
     2018.05.02 - [B] Fixed bugs in weaving methods with generic parameters
     2018.05.02 - [B] Fixed bugs in weaving async methods
     2018.04.26 - [B] Properties with getter and setter but without backing field caused an Exception during weaving.
     2018.04.23 - [C] Basic interceptors moved to Cauldron.BasicInterceptors package
     2018.04.15 - [B] Custom interceptors now works correctly.
     2018.04.14 - [B] Resolving of generics throws an exception on certain cases.
     2018.04.11 - [C] First version of the new Cecilator.
     2018.04.11 - [C] Fody version 3.0.0 update and minor bug fixes.
     2018.03.02 - [C] All interceptor interfaces that were part of this package were moved to Cauldron.BasicInterceptors
     2018.01.11 - [B] ModuleMain entry point interceptor fixed. Weaver throwed exception during weaving.
     2018.01.09 - [C] Getting rid of useless casts in created code.
     2018.01.09 - [B] MethodInterceptors in Async methods are now weaved correctly.
     2018.01.08 - [C] Interceptor OnException return type changed to bool to be able to create interceptors that swallow exceptions.
     2018.01.08 - [A] Simple interceptors without try catch added.
     2018.01.07 - [A] Support for assembly-wide attribute decorating added.
     2017.12.30 - [C] DoNotInterceptAttribute removed... Replaced by the InterceptionRuleAttribute instead. See documentation for more details.
     2017.12.30 - [A] Support for properties without backing fields added.
     2017.12.29 - [C] AssignMethodAttribute now falls back to 'is assignable' if the return type of a method does not match.
     2017.12.29 - [C] {CtorArgument:} placeholder now accepts parameter names besides index.
     2017.12.28 - [B] AssignMethodAttribute decorated field types were not imported.
     2017.12.25 - [C] AssignMethodAttribute now supports constructor defined placeholders.
     2017.12.25 - [B] Fixed a bug that caused some methods to return null if Code-Optimization is on.
     2017.12.25 - [C] AssignMethodAttribute can now throw an error if the associated method is not found.
     2017.12.25 - [C] AssignMethodAttribute now allowing parameters.
     2017.12.23 - [A] New interceptor extension added - AssignMethodAttribute
     2017.12.22 - [A] System.Xml.Serialization.XmlIgnoreAttribute will be added to all Cauldron created properties if the type System.Xml.Serialization.XmlIgnoreAttribute exist.
     2017.12.22 - [B] NonSerializedAttribute was implemented as a custom attribute... Now correctly implemented.
     2017.12.21 - [A] NonSerializedAttribute or IgnoreDataMemberAttribute or JsonIgnoreAttribute added to all Cauldron created fields and properties (Only if these attributes are referenced in the project).
     2017.12.21 - [C] Some info and error messages changed to be more informative.
     2017.12.21 - [B] In some cases if the weaver tries to retrieved information from referenced assemblies, a BadImageFormatException occures. Fixed.
     2017.12.20 - [A] Real support for Net45 added - The weaver itself still requires an installed Net461.
     2017.12.14 - [A] Constructor interceptor added.
     2017.12.11 - [B] Sort of fixed the issue that jumping to errors on async methods did not work.
     2017.12.11 - [B] Fixed a bug that caused the weaver to weav types that does not exist and then throws exceptions.
     2017.12.11 - [B] A bug was in "cleaning" fixed that caused local variables to be removed although they were still in use.
     2017.12.11 - [A] Allowing non auto-properties to be intercepted.
     2017.12.06 - [B] Fixed the weaver for the IChangeAwareViewModel interface.
     2017.12.06 - [B] Fixed a bug that caused try-catches to be malformed if the modified method was empty.
     2017.12.06 - [A] IPropertyInitializer added. This interface forces an interceptor to be loaded on type init instead of the first call.
     2017.12.06 - [B] If PropertyChanged.Fody weaved before Cauldron then Cauldron has removed the implementation for the particular property. This is now fixed.
     2017.12.05 - [A] Sequence points added.
     2017.12.05 - [B] Bug from yesterday regarding ComponentAttribute still occured on nested private classes. Now fixed.
     2017.12.04 - [B] Interceptors that uses ISyncRoot interface was not correctly weaved. This caused the object initialization to be weaved in the .cctor even though it is not static.
     2017.12.04 - [B] The weaving of the auto-ComponentAttribute attributed types caused an error in some cases if the type is not public.
     2017.12.04 - [A] Weaves an initializer for xaml resources to be able to auto-load them.
     2017.12.04 - [C] TimedCacheAttribute namespace change also reflected to weaver.
     2017.12.04 - [R] Useless method cache removed from weaver.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Cauldron.Interception.Fody:

Package Downloads
Capgemini.Cauldron.Activator
The activator is a simple and fast dependency injection framework. It is based on attributes and does not require any configuration files for configuration. It also supports using static methods as component constructor. This version is not compatible with Assemblies weaved by versions older than 3.1.0 of the Cauldron.Activator. Breaking changes in 3.1.x - See https://github.com/Capgemini/Cauldron for more information.
Cauldron.BasicInterceptors
Custom interceptors for Cauldron.Interception.Fody that provides method, property, field and constructor interception.
Capgemini.Cauldron.Win32.WPF
A simple MVVM framework that heavily uses IL-weaving based on Fody.
Capgemini.Cauldron.Win32.WPF.Theme.VSDark
Visual Studio dark theme for Cauldron WPF
Capgemini.Cauldron.Win32.WPF.Theme.VSLight
Visual Studio dark theme for Cauldron WPF

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.2.3 8,737 10/29/2018
3.2.2 12,797 10/16/2018
3.2.1 674 10/2/2018
3.2.0 1,758 9/28/2018
3.0.36-beta 6,190 9/10/2018
3.0.35-beta 337 8/10/2018
3.0.34 1,798 8/2/2018
3.0.33 331 8/1/2018
3.0.32 544 7/2/2018
3.0.31 385 7/1/2018
3.0.30 458 6/23/2018
3.0.29 433 6/15/2018
3.0.28 402 6/15/2018
3.0.27 414 6/13/2018
3.0.26 386 6/12/2018
3.0.25 382 6/7/2018
3.0.24 365 6/7/2018
3.0.23 401 6/7/2018
3.0.22 433 6/4/2018
3.0.21 375 6/4/2018
3.0.20 537 6/3/2018
3.0.19 451 6/1/2018
3.0.18 1,426 5/23/2018
3.0.17 489 5/21/2018
3.0.16 500 5/19/2018
3.0.15-beta 355 5/16/2018
3.0.14 587 5/15/2018
3.0.13-beta 564 5/10/2018
3.0.12-beta 447 5/10/2018
3.0.11-beta 414 5/10/2018
3.0.10-beta 449 5/9/2018
3.0.9-beta 567 5/5/2018
3.0.8-beta 512 5/4/2018
3.0.7-beta 530 5/4/2018
3.0.6-beta 444 5/2/2018
3.0.5-beta 475 5/2/2018
3.0.4-beta 460 4/26/2018
3.0.3-beta 499 4/25/2018
3.0.2-beta 415 4/17/2018
3.0.1-beta 369 4/11/2018
3.0.0-beta 330 4/11/2018
2.1.0 868 4/6/2018
2.0.39-beta 486 2/18/2018
2.0.38-beta 417 2/18/2018
2.0.37-beta 350 2/16/2018
2.0.36-beta 450 1/26/2018
2.0.35-beta 527 1/24/2018
2.0.33-beta 416 1/24/2018
2.0.32-beta 444 1/24/2018
2.0.31-beta 426 1/15/2018
2.0.30-beta 476 1/11/2018
2.0.29 14,389 12/29/2017
2.0.28 405 12/29/2017
2.0.27 752 12/25/2017
2.0.26 448 12/23/2017
2.0.25 454 12/22/2017
2.0.24 437 12/21/2017
2.0.22 463 12/20/2017
2.0.21 487 12/18/2017
2.0.20 377 12/15/2017
2.0.19 461 12/12/2017
2.0.18 465 12/7/2017
2.0.16 406 12/4/2017
2.0.15 386 12/4/2017
2.0.13 391 12/4/2017
2.0.12 428 12/3/2017
2.0.11-beta 410 12/3/2017
2.0.10-beta 382 12/2/2017
2.0.9-beta 428 12/2/2017
2.0.8-beta 435 11/28/2017
2.0.5-beta 350 11/23/2017
2.0.4-beta 321 11/21/2017
2.0.3-beta 327 11/14/2017
2.0.2-beta 288 11/14/2017
2.0.1-beta 310 11/14/2017
1.2.19-beta 335 9/24/2017
1.2.18-beta 327 9/24/2017
1.2.17-beta 333 9/20/2017
1.2.16-beta 334 9/6/2017
1.2.15-beta 336 9/5/2017
1.2.14-beta 319 9/5/2017
1.2.13-beta 328 9/3/2017
1.2.12-beta 335 9/2/2017
1.2.11-beta 318 9/1/2017
1.2.10-beta 377 7/21/2017
1.2.9-beta 344 7/19/2017
1.2.8-beta 383 7/18/2017
1.2.7 614 6/16/2017
1.2.6-beta 425 6/8/2017
1.2.5-beta 355 6/8/2017
1.2.4-beta 356 6/8/2017
1.2.3-beta 393 6/8/2017
1.2.2-beta 338 6/6/2017
1.2.1-beta 362 4/10/2017
1.2.0-beta 354 4/9/2017
1.1.4 482 3/30/2017
1.1.3 427 3/30/2017
1.1.2 400 3/27/2017
1.1.1 484 3/26/2017
1.1.0 428 3/23/2017
1.0.9 415 2/16/2017
1.0.7 433 2/14/2017
1.0.6 464 2/12/2017