AjaxControlToolkit.PersistentStoreManager.GetCurrentContext C# (CSharp) Method

GetCurrentContext() private method

private GetCurrentContext ( ) : HttpContext
return System.Web.HttpContext
        HttpContext GetCurrentContext()
        {
            if(HttpContext.Current == null || HttpContext.Current.Session == null)
                return null;

            return HttpContext.Current;
        }