Arc.Infrastructure.Data.UnitOfWorkWebModule.Init C# (CSharp) Method

Init() public method

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication An that provides access to the methods, properties, and events common to all application objects within an ASP.NET application
return void
        public void Init(HttpApplication context)
        {
            context.EndRequest += (x, y) => ReleaseUnitOfWork();
        }