HamzaLee / dotnetcore-di-interception

The package adds interception to the default dependency injection container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DotNet Core Dependency Injection Interception

The package adds interception to the default dependency injection container.

License

GitHub

Usage

The package extends the default dependency injection container by adding overloads of the existant methods that accept interceptors as parameters.

The repository contains a solution DotNetCore.DI.Interception.Samples.sln where some examples can be found.

Example:

services.AddTransient<ICustomService, CustomService>(new IInterceptor[] { new DebuggerInterceptor() });

For more information about interception, please refer to Castle Core

Build

Platforms Master Develop
Windows Build Status Build Status

Tests

Azure DevOps coverage

Azure DevOps tests

Issues

GitHub issues

GitHub pull requests

Release

NuGet NuGet

About

The package adds interception to the default dependency injection container.

License:MIT License


Languages

Language:C# 100.0%