Ejemplo n.º 1
0
        /// <summary>
        /// Handler for PostMapRequest
        /// </summary>
        /// <param name="sender">Sender object</param>
        /// <param name="e">Event arguments</param>
        private void PostMapRequestHandler_Execute(object sender, EventArgs e)
        {
            // Creates an output filter instance
            ResponseOutputFilter.EnsureOutputFilter();

            // Assigns a handler to the OutputFilterContext.CurrentFilter.OnAfterFiltering event
            OutputFilterContext.CurrentFilter.OnAfterFiltering += ampFilter.OnFilterActivated;
        }
 private void PostMapRequestHandler_Execute(object sender, EventArgs e)
 {
     ResponseOutputFilter.EnsureOutputFilter();
     OutputFilterContext.CurrentFilter.OnAfterFiltering += CurrentFilter_OnAfterFiltering;
 }