Found 14 packages
A bunch of useful extension methods
Flatwhite is an AOP library with MVC and WebAPI ActionFilter style using Castle dynamic proxy. You can create MethodFilterAttribute to add custom logic to any methods as soon as it is interceptable by Castle Dynamic Proxy. Flatwhite has 1 built-in OutputCacheFilter to cache method result which can auto refresh stale content. You can use Flatwhite simply for caching or extending behavior of your methods such as profiling, logging by implement MethodFilterAttribute similar to MVC's ActionFilterAttribute. Flatwhite.Autofac is a Autofac support package for Flatwhite core
Capture and observe Console output written by methods such as Console.WriteLine. It also leaves the original console output stream intact.
Flatwhite is an AOP library with MVC and WebAPI ActionFilter style using Castle dynamic proxy. You can create MethodFilterAttribute to add custom logic to any methods as soon as it is interceptable by Castle Dynamic Proxy. Flatwhite has 1 built-in OutputCacheFilter to cache method result which can auto refresh stale content. You can use Flatwhite simply for caching or extending behavior of your methods such as profiling, logging by implement MethodFilterAttribute similar to MVC's ActionFilterAttribute
DynamicObjectProxy that lets you intercept any methods of any object and adding decorations. Inspired by CBO Extender by Gary H. Guo
Interception for NET Allows to create proxies for classes and interfaces, intercept properties, methods, events and customize the code generated.
Allows to proxy any methods in your application. You only need to apply a custom attribute to the methods yout want to intercept and then register that attribute to your custom interceptor.
Roslyn Decorator for a class- intercept methods
Provides a way to implement commands by decorating methods with attributes. This component provides a Network Command Listener to intercept network commands from connections such as Telnet.
Allows to proxy any methods in your application. You only need to apply a custom attribute to the methods yout want to intercept and then register that attribute to your custom interceptor.
Allows to proxy any methods in your application. You only need to apply a custom attribute to the methods yout want to intercept and then register that attribute to your custom interceptor.
The Decorators library is a powerful tool for C# developers that allows you to intercept methods and execute code before and after. The library uses attributes to mark the targeted methods and - behind the scenes - adds the desired behavior via decorator pattern, providing additional functionality without modifying the initial implementation.
Supported databases: Sql Server, Sql Azure, My Sql, Sqlite, Oracle, PostgreSql, DB2\LUW, Firebird. Fast, small and simple, and very little code needed to perform database actions. Ability to write and run all code unchanged on multiple database vendors. No configuration, no mapping files, no inheritance requirements, no object tracking or caching, just objects and code. Supports writes, updates, or upserts with out the need to write sql, just write your queries for the parent objects. Totally disconnected writes, they can move across application boundaries. Write your own queries, the orm just maps the results. Full transaction support, make multiple calls inside a single transaction. Read and Write isolation, you must use different object for reads and writes. Built in history and performance tracking support. Error tracking, extensive commitment to helping developers understand all exceptions thrown, extensive detailed error messages are provide when possible. Supports change tracking, so the database is only involved when you decide it's necessary. Encryption, allows data to be encrypted prior to writes, and allows un-encryption with loads. Validation support, extensive support for System.ComponentModel.DataAnnotations with the ability to extend and create custom validation with enforcement from the orm. Processing Intercept Support, do special work prior to insert, update, or delete, or after load. Parallel support, run multiple queries in parallel to increase performance. Debugging, all sql is traced out with the parameters and values to aid trouble-shooting. Queries can contain locators which are provided in exceptions. Developer control, all the object creates are overidable, and most methods can be overridden. Supports mutable flat, pure immutable types or hierarchical objects, or objects with children or child properties. Interface abstraction by allowing you to query and retrieve interface types while loading concretes types.
Simple Aspect-Oriented Programming(AOP) approach to logging of C# classes and methods, using AspectCore.DynamicProxy to intercept method calls and integrates with Microsoft.Extensions.Logging. It automatically logs nested exceptions and propagates them by default. The standard logging info is formatted as follow >InvocationGuid: [f5c7e3c2-0d4f-45e8-9a2d-123456789abc] MyApp.Services.OrderService.CreateOrder Start > >InvocationGuid: [f5c7e3c2-0d4f-45e8-9a2d-123456789abc] MyApp.Services.OrderService.CreateOrder Param firstParam: "" > >InvocationGuid: [f5c7e3c2-0d4f-45e8-9a2d-123456789abc] MyApp.Services.OrderService.CreateOrder End