Created
August 18, 2015 13:00
-
-
Save GregOnNet/1b1e3cd505e79f22c0b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public override void OnBeginRequest(HttpContextBase context, IWindsorContainer container) | |
{ | |
var parameters = new Arguments(new | |
{ | |
response = context.Response, | |
pdfFormatter = container.Resolve<IFormatPdfResponse>() | |
}); | |
container.Resolve | |
<IDispatchPdfReponses>(parameters) | |
.Listen(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, super Einfall. Danke!