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 9,109 10/29/2018
3.2.2 13,566 10/16/2018
3.2.1 884 10/2/2018
3.2.0 1,973 9/28/2018
3.0.36-beta 6,249 9/10/2018
3.0.35-beta 430 8/10/2018
3.0.34 1,864 8/2/2018
3.0.33 390 8/1/2018
3.0.32 609 7/2/2018
3.0.31 476 7/1/2018
3.0.30 526 6/23/2018
3.0.29 469 6/15/2018
3.0.28 497 6/15/2018
3.0.27 503 6/13/2018
3.0.26 472 6/12/2018
3.0.25 464 6/7/2018
3.0.24 411 6/7/2018
3.0.23 516 6/7/2018
3.0.22 511 6/4/2018
3.0.21 449 6/4/2018
3.0.20 776 6/3/2018
3.0.19 654 6/1/2018
3.0.18 1,655 5/23/2018
3.0.17 696 5/21/2018
3.0.16 701 5/19/2018
3.0.15-beta 399 5/16/2018
3.0.14 843 5/15/2018
3.0.13-beta 828 5/10/2018
3.0.12-beta 665 5/10/2018
3.0.11-beta 641 5/10/2018
3.0.10-beta 659 5/9/2018
3.0.9-beta 743 5/5/2018
3.0.8-beta 711 5/4/2018
3.0.7-beta 740 5/4/2018
3.0.6-beta 607 5/2/2018
3.0.5-beta 665 5/2/2018
3.0.4-beta 649 4/26/2018
3.0.3-beta 680 4/25/2018
3.0.2-beta 459 4/17/2018
3.0.1-beta 412 4/11/2018
3.0.0-beta 376 4/11/2018
2.1.0 1,036 4/6/2018
2.0.39-beta 650 2/18/2018
2.0.38-beta 579 2/18/2018
2.0.37-beta 390 2/16/2018
2.0.36-beta 613 1/26/2018
2.0.35-beta 696 1/24/2018
2.0.33-beta 565 1/24/2018
2.0.32-beta 599 1/24/2018
2.0.31-beta 566 1/15/2018
2.0.30-beta 644 1/11/2018
2.0.29 15,126 12/29/2017
2.0.28 444 12/29/2017
2.0.27 913 12/25/2017
2.0.26 604 12/23/2017
2.0.25 588 12/22/2017
2.0.24 574 12/21/2017
2.0.22 608 12/20/2017
2.0.21 638 12/18/2017
2.0.20 534 12/15/2017
2.0.19 617 12/12/2017
2.0.18 632 12/7/2017
2.0.16 558 12/4/2017
2.0.15 542 12/4/2017
2.0.13 557 12/4/2017
2.0.12 588 12/3/2017
2.0.11-beta 573 12/3/2017
2.0.10-beta 529 12/2/2017
2.0.9-beta 552 12/2/2017
2.0.8-beta 603 11/28/2017
2.0.5-beta 470 11/23/2017
2.0.4-beta 419 11/21/2017
2.0.3-beta 404 11/14/2017
2.0.2-beta 330 11/14/2017
2.0.1-beta 357 11/14/2017
1.2.19-beta 430 9/24/2017
1.2.18-beta 415 9/24/2017
1.2.17-beta 396 9/20/2017
1.2.16-beta 393 9/6/2017
1.2.15-beta 403 9/5/2017
1.2.14-beta 377 9/5/2017
1.2.13-beta 396 9/3/2017
1.2.12-beta 383 9/2/2017
1.2.11-beta 357 9/1/2017
1.2.10-beta 443 7/21/2017
1.2.9-beta 383 7/19/2017
1.2.8-beta 471 7/18/2017
1.2.7 659 6/16/2017
1.2.6-beta 475 6/8/2017
1.2.5-beta 398 6/8/2017
1.2.4-beta 399 6/8/2017
1.2.3-beta 436 6/8/2017
1.2.2-beta 384 6/6/2017
1.2.1-beta 400 4/10/2017
1.2.0-beta 401 4/9/2017
1.1.4 625 3/30/2017
1.1.3 575 3/30/2017
1.1.2 444 3/27/2017
1.1.1 710 3/26/2017
1.1.0 589 3/23/2017
1.0.9 457 2/16/2017
1.0.7 563 2/14/2017
1.0.6 588 2/12/2017