Пример #1
0
        /// <summary>
        /// Primary ShowErr method (takes everything literally)
        /// </summary>
        /// <param name="sMsg"></param>
        /// <param name="sParticiple"></param>
        /// <param name="sFuncName"></param>
        public static void ShowErr(string sMsg, string sParticiple, string sFuncName)
        {
            //string sLine= ( RReporting.IsNotBlank(sMsg) ? (sMsg+" - ") : "Error" )  +
            Error_WriteDateIfFirstLine();
            string sLine = (RReporting.IsNotBlank(sMsg) ? (sMsg) : "Error") + ParticipleToAdverbClause(sParticiple) + NounToPreposition(sFuncName);

            Console.Error.WriteLine(sLine);
        }        //end ShowErr(string)