-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# DivertR DynamicProxy | ||
|
||
[![nuget](https://img.shields.io/nuget/v/DivertR.DynamicProxy.svg)](https://www.nuget.org/packages/DivertR.DynamicProxy) | ||
[![build](https://github.com/devodo/DivertR/actions/workflows/build.yml/badge.svg)](https://github.com/devodo/DivertR/actions/workflows/build.yml) | ||
|
||
A [DivertR](https://github.com/devodo/DivertR) proxy factory implementation that supports proxying class types using [Castle DynamicProxy](http://www.castleproject.org/projects/dynamicproxy/). | ||
|
||
# Installing | ||
|
||
Install DivertR as a [NuGet package](https://www.nuget.org/packages/DivertR): | ||
|
||
```sh | ||
Install-Package DivertR | ||
``` | ||
|
||
Or via the .NET command line interface: | ||
|
||
```sh | ||
dotnet add package DivertR | ||
``` | ||
|
||
# Example Usage | ||
|
||
Configure DivertR to use DynamicProxy: | ||
|
||
```csharp | ||
DiverterSettings.Global = new DiverterSettings(proxyFactory: new DynamicProxyFactory()); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters