Click or drag to resize

Cauldron.Interceptors Namespace

 
Classes
  ClassDescription
Public classExceptionLoggerAttribute
Intercepts the method and logs an exception.

This interceptor is using NLog. NLog configuration will affect this interceptor.

Public classExecutionTimeAttribute
Provides a simple performance measurement of a code block
Public classPerformanceLoggerAttribute
Intercepts the method and logs its execution time.

This interceptor is using NLog. NLog configuration will affect this interceptor.

Public classCode examplePropertyOnSetAttribute
Provides an interceptor that can invoke a method of the type instance.
The method must have the following name 'On_____Set' where the blanks is the property's name.
The method can be void and parameterless or void and with 2 arguments of type Object. The first argument is the old value and the second is the new value.