StaticProxy.Fody 1.0.150-GenericMethods

This is a prerelease version of StaticProxy.Fody.

Requires NuGet 2.8 or higher.

dotnet add package StaticProxy.Fody --version 1.0.150-GenericMethods
                    
NuGet\Install-Package StaticProxy.Fody -Version 1.0.150-GenericMethods
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StaticProxy.Fody" Version="1.0.150-GenericMethods">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StaticProxy.Fody" Version="1.0.150-GenericMethods" />
                    
Directory.Packages.props
<PackageReference Include="StaticProxy.Fody">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StaticProxy.Fody --version 1.0.150-GenericMethods
                    
#r "nuget: StaticProxy.Fody, 1.0.150-GenericMethods"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=StaticProxy.Fody&version=1.0.150-GenericMethods&prerelease
                    
Install StaticProxy.Fody as a Cake Addin
#tool nuget:?package=StaticProxy.Fody&version=1.0.150-GenericMethods&prerelease
                    
Install StaticProxy.Fody as a Cake Tool

Get started by putting adding the StaticProxy.Fody nuget package to the projects where the interfaces/classes to be intercepted reside and att a [StaticProxy] attribute to these. Implement your interceptors by inheriting from the IDynamicInterceptor interface. Use one of the integration packages to configure interception and instanciate the proxies. See the project page for more information!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on StaticProxy.Fody:

Package Downloads
Unity.StaticProxy

Unity extension for using StaticProxy.Fody with unity. This enables proxying on platforms which don't support Dynamic Proxy (like Windows RT, Apple IPhone,...)

Ninject.Extensions.StaticProxy

Ninject extension for using StaticProxy.Fody with ninject. This enables proxying on platforms which don't support Dynamic Proxy (like Windows RT, Apple IPhone,...)

GitHub repositories

This package is not used by any popular GitHub repositories.

Added support for proxying generic methods, -interfaces and -classes. This is a *breaking change* - also update StaticProxy.Interceptor to 1.0+!