Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Async controller action invokers
public class CastleActionInvoker : AsyncControllerActionInvoker
{
//...
}
public class CastleActionInvoker : ControllerActionInvoker
{
private IKernel kernel;
public CastleActionInvoker(IKernel kernel)
{
this.kernel = kernel;
}
//...
}
Container.Register(Component.For<IActionInvoker>()
.ImplementedBy<CastleActionInvoker>()
.LifeStyle.Transient);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.