Sholo.Web.Security/Analysis/RequestAnalyzer.cs
/// <summary>
/// Retrieves the saved analysis for the request phase specified
/// </summary>
/// <param name="requestPhase">The phase of the request processing to request an analysis for</param>
/// <returns>The RequestAnalysis at the phase requested or null of one is not available</returns>
Retrieves the saved analysis for the request phase specified
Retrieves the saved analysis for the request phase specified
public static RequestAnalysis RetrieveAnalysis(RequestLifecyclePhase requestPhase)
        {
            string contextKey = "Analysis:" + requestPhase.ToString();
            if (HttpContext.Current.Items.Contains(contextKey))
            {
                RequestAnalysis result = HttpContext.Current.Items[contextKey] as RequestAnalysis;
            }
            return null;
        }
public static RequestAnalysis RetrieveAnalysis ( RequestLifecyclePhase requestPhase ) { string contextKey = " " + requestPhase . ToString ( ) ; if ( HttpContext . Current . Items . Contains ( contextKey ) ) { RequestAnalysis result = HttpContext . Current . Items [ contextKey ] as RequestAnalysis ; } return null ; }
Retrieves the saved analysis for the request phase specified
Retrieves the saved analysis for the request phase specified
The RequestAnalysis at the phase requested or null of one is not available
The RequestAnalysis at the phase requested or null of one is not available
requestPhase
RequestLifecyclePhase
The phase of the request processing to request an analysis for
The phase of the request processing to request an analysis for