Interception extension for Ninject
C# Shell
Latest commit 83f4dec Sep 12, 2014 @scott-xu scott-xu Syntax highlight
Failed to load latest commit information.
lib Use Nuget packages instead of lib folder Jul 1, 2013
nuget-dp2 Update Ninject.Extensions.Interception.DynamicProxy.nuspec Nov 30, 2013
nuget-linfu Fixed LinFu.DynamicProxy nuget package id Nov 5, 2013
nuget Updated to Nuget 1.2 Apr 26, 2011
packages Use Nuget packages instead of lib folder Jul 1, 2013
src Added missing xml comment Apr 11, 2014
tools Adapted scripts to mono 3.4 Apr 25, 2014
.gitignore Added assembly description for nuget Dec 28, 2011
HowToBuild.txt Updated How to Build - Reference teamcity.bbv.ch instead of codebetter Jan 10, 2014
LICENSE.txt Finishing build scripts for new project structure. Mar 19, 2010
Ninject.Extensions.Interception with Silverlight and WP7 Unittesting.sln Use Nuget packages instead of lib folder Jul 1, 2013
Ninject.Extensions.Interception.DynamicProxy.build Adapted scripts to mono 3.4 part 2 Apr 28, 2014
Ninject.Extensions.Interception.LinFu.build Adapted scripts to mono 3.4 part 2 Apr 28, 2014
Ninject.Extensions.Interception.build Adapted scripts to mono 3.4 Apr 25, 2014
Ninject.Extensions.Interception.sln Use Nuget packages instead of lib folder Jul 1, 2013
Ninject.build Revert "Changed the build scripts that WP7 Uni Tests are not executed… Mar 20, 2014
Ninject.include Adapted scripts to mono 3.4 Apr 25, 2014
README.markdown Syntax highlight Sep 12, 2014
ReleaseNotes.markdown Update version to 3.2.0 Mar 21, 2014
UnzipDependencies.cmd Fixed a required change due to Ninject core update. Dec 3, 2010
build-alpha.cmd Updated to Nuget 1.6 and added support for prerelease packages Dec 23, 2011
build-beta.cmd Updated to Nuget 1.6 and added support for prerelease packages Dec 22, 2011
build-rc1.cmd Fixed nuget references to prereleases in build scripts Dec 31, 2011
build-release.cmd Updated to NuGet 1.3 May 3, 2011
build.cmd - Added missing files Oct 31, 2010

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);