C# Class Castle.MonoRail.Framework.Adapters.DefaultRailsEngineContext

Adapter to expose a valid IRailsEngineContext implementation on top of HttpContext.
Inheritance: AbstractServiceContainer, IRailsEngineContext
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
DefaultRailsEngineContext ( IServiceContainer parent, UrlInfo urlInfo, HttpContext context, IServiceProvider container ) : System

Initializes a new instance of the DefaultRailsEngineContext class.

ResolveRequestSession ( ) : void

Resolves the request session.

Transfer ( String path, bool preserveForm ) : void

Transfer the execution to another resource.

Method Details

DefaultRailsEngineContext() public method

Initializes a new instance of the DefaultRailsEngineContext class.
public DefaultRailsEngineContext ( IServiceContainer parent, UrlInfo urlInfo, HttpContext context, IServiceProvider container ) : System
parent IServiceContainer The parent.
urlInfo UrlInfo Url information
context System.Web.HttpContext The context.
container IServiceProvider External container instance
return System

ResolveRequestSession() public method

Resolves the request session.
public ResolveRequestSession ( ) : void
return void

Transfer() public method

Transfer the execution to another resource.
public Transfer ( String path, bool preserveForm ) : void
path String
preserveForm bool
return void