WebMarkupMin.Core.GenericHtmlMinifier.WriteWarning C# (CSharp) 메소드

WriteWarning() 개인적인 메소드

Writes a information about the warning
private WriteWarning ( string category, string message, string filePath, int lineNumber, int columnNumber, string sourceFragment ) : void
category string Warning category
message string Warning message
filePath string File path
lineNumber int Line number on which the warning occurred
columnNumber int Column number on which the warning occurred
sourceFragment string Fragment of source svgContent
리턴 void
        private void WriteWarning(string category, string message, string filePath, int lineNumber, int columnNumber,
			string sourceFragment)
        {
            _warnings.Add(new MinificationErrorInfo(category, message, lineNumber, columnNumber, sourceFragment));
            _logger.Warn(category, message, filePath, lineNumber, columnNumber, sourceFragment);
        }