<commit_before>using System.Configuration;
using Umbraco.Core;
using Umbraco.Web.Mvc;

namespace UmbracoIdentity
{
    /// <summary>
    /// Enables the fix for the async action invoker if specified in config
    /// </summary>
    /// <remarks>
    /// Used as a work around for issue: http://issues.umbraco.org/issue/U4-5208
    /// </remarks>
    public class FixAsyncActionInvokerStartupHandler : ApplicationEventHandler
    {
        protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
        {
            var useFix = ConfigurationManager.AppSettings["UmbracoIdentity:UseAsyncActionInvokerFix"].TryConvertTo<bool>();<commit_msg>seals a class<commit_after>using System.Configuration;
using Umbraco.Core;
using Umbraco.Web.Mvc;

namespace UmbracoIdentity
{
    /// <summary>
    /// Enables the fix for the async action invoker if specified in config
    /// </summary>
    /// <remarks>
    /// Used as a work around for issue: http://issues.umbraco.org/issue/U4-5208
    /// </remarks>
    public sealed class FixAsyncActionInvokerStartupHandler : ApplicationEventHandler
    {
        protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
        {
            var useFix = ConfigurationManager.AppSettings["UmbracoIdentity:UseAsyncActionInvokerFix"].TryConvertTo<bool>();
{'fraction_non_alphanumeric': 0.09390329362298529, 'fraction_numerical': 0.00700770847932726, 'mean_word_length': 3.6973684210526314, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3630402', 'n_tokens_mistral': 381, 'n_tokens_neox': 378, 'n_words': 94}