BlogEngine.Core.Web.Scripting.JavascriptMinifier.CreateCodeSettings C# (CSharp) Метод

CreateCodeSettings() приватный Метод

Builds the required CodeSettings class needed for the Ajax Minifier.
private CreateCodeSettings ( ) : CodeSettings
Результат CodeSettings
        private CodeSettings CreateCodeSettings()
        {
            var codeSettings = new CodeSettings();
            codeSettings.MinifyCode = false;
            // MinifyCode needs to be set to true in order for anything besides whitespace removal
            // to be done on a script.
            codeSettings.MinifyCode = this.ShouldMinifyCode;
            return codeSettings;
        }