CK.Text.StringMatcher.FormatMessage C# (CSharp) Method

FormatMessage() static private method

static private FormatMessage ( object expectedMessage, string callerName ) : string
expectedMessage object
callerName string
return string
        static string FormatMessage( object expectedMessage, string callerName )
        {
            string d = callerName;
            string tail = expectedMessage != null ? expectedMessage.ToString() : null;
            if( !string.IsNullOrEmpty( tail ) )
            {
                d += ": expected '" + tail + "'.";
            }
            return d;
        }