Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Interception extension for Ninject
C# Shell
Failed to load latest commit information.
lib Use Nuget packages instead of lib folder
nuget-dp2 Update Ninject.Extensions.Interception.DynamicProxy.nuspec
nuget-linfu Fixed LinFu.DynamicProxy nuget package id
nuget Updated to Nuget 1.2
packages Use Nuget packages instead of lib folder
src Added missing xml comment
tools Adapted scripts to mono 3.4
.gitignore Added assembly description for nuget
HowToBuild.txt Updated How to Build - Reference teamcity.bbv.ch instead of codebetter
LICENSE.txt Finishing build scripts for new project structure.
Ninject.Extensions.Interception with Silverlight and WP7 Unittesting.sln Use Nuget packages instead of lib folder
Ninject.Extensions.Interception.DynamicProxy.build Adapted scripts to mono 3.4 part 2
Ninject.Extensions.Interception.LinFu.build Adapted scripts to mono 3.4 part 2
Ninject.Extensions.Interception.build Adapted scripts to mono 3.4
Ninject.Extensions.Interception.sln Use Nuget packages instead of lib folder
Ninject.build Revert "Changed the build scripts that WP7 Uni Tests are not executed…
Ninject.include Adapted scripts to mono 3.4
README.markdown Syntax highlight
ReleaseNotes.markdown Update version to 3.2.0
UnzipDependencies.cmd Fixed a required change due to Ninject core update.
build-alpha.cmd Updated to Nuget 1.6 and added support for prerelease packages
build-beta.cmd Updated to Nuget 1.6 and added support for prerelease packages
build-rc1.cmd Fixed nuget references to prereleases in build scripts
build-release.cmd Updated to NuGet 1.3
build.cmd - Added missing files

README.markdown

ChannelProxies can be intercepted now:

    [ServiceContract]
    public interface IFooService
    {
        [OperationContract]
        void Foodo();
    }

    ActionInterceptor interceptor =
        new ActionInterceptor( invocation => Console.WriteLine("Executing {0}.", invocation.Request.Method) );

    kernel.Bind<IFooService>()
        .ToMethod(context => ChannelFactory<IFooService>.CreateChannel(new NetTcpBinding(), new EndpointAddress("net.tcp://localhost/FooService")))
        .Intercept(typeof(ICommunicationObject))
        .With(interceptor);
Something went wrong with that request. Please try again.