/// <summary>
 /// Instantiates a new process contrext for inversion.
 /// </summary>
 /// <remarks>You can think of this type here as "being Inversion". This is the thing.</remarks>
 /// <param name="underlyingContext">The underlying http context to wrap.</param>
 /// <param name="services">The service container the context will use.</param>
 /// <param name="resources">The resources available to the context.</param>
 public AspNetContext(HttpContext underlyingContext, IServiceContainer services, IResourceAdapter resources) : base(services, resources)
 {
     _underlyingContext = underlyingContext;
     _application       = this.UnderlyingContext.ApplicationInstance as AspNetApplication;
     _response          = new AspNetResponse(this.UnderlyingContext.Response);
     _request           = new AspNetRequest(this.UnderlyingContext.Request);
 }
 /// <summary>
 /// Instantiates a new process contrext for inversion.
 /// </summary>
 /// <remarks>You can think of this type here as "being Inversion". This is the thing.</remarks>
 /// <param name="underlyingContext">The underlying http context to wrap.</param>
 /// <param name="services">The service container the context will use.</param>
 /// <param name="resources">The resources available to the context.</param>
 public AspNetContext(HttpContext underlyingContext, IServiceContainer services, IResourceAdapter resources)
     : base(services, resources)
 {
     _underlyingContext = underlyingContext;
     _application = this.UnderlyingContext.ApplicationInstance as AspNetApplication;
     _response = new AspNetResponse(this.UnderlyingContext.Response);
     _request = new AspNetRequest(this.UnderlyingContext.Request);
 }