forked from reflection-emit/Cauldron
-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Reflection Emit edited this page Jan 15, 2018
·
53 revisions
AOP - Method and property interception in C#
Passing Parameters to a running application in WPF
A Fody add-in that provides basic interception of methods, properties and fields.
The interceptors can be used in NET45, but the weaver still requires an installed NET461. Since the weaver itself is not part of the project, this will not affect the project's target framework version.
The following weaver/interceptor are available
- Method Interception
- Method Interception without try-catch-finally
- Property Interception
- Field Interception
- Constructor Interception
- ExceptionLoggerAttribute
- ExceptionToEventLogAttribute
- ExecutionTimeAttribute
- PerformanceLoggerAttribute
- PropertyOnSetAttribute
- RegistryAttribute
The activator is a simple and easy to use dependency injection. It is based on attributes and does not require any configuration files. It also supports static methods as component constructor.