コード例 #1
0
ファイル: MainClass-Css.cs プロジェクト: nuxleus/ajaxmin
        void OnCssError(object sender, CssErrorEventArgs e)
        {
            ContextError error = e.Error;
            // ignore severity values greater than our severity level
            if (error.Severity <= m_warningLevel)
            {
                // we found an error
                m_errorsFound = true;

                WriteError(error.ToString());
            }
        }
コード例 #2
0
 /// <summary>
 /// Parsing error occured - event handler.
 /// </summary>
 private void parser_CssError(object sender, CssErrorEventArgs e)
 {
     // Do not minify in the case of parse exception and log the error
     minificationError = e.Exception;
 }
コード例 #3
0
 private void OnCssError(object sender, CssErrorEventArgs e)
 {
     ContextError error = e.Error;
     if (error.Severity <= WarningLevel)
     {
         m_errorList.Add(error);
     }
 }