示例#1
0
 public static void Assert(bool condition, string message,
                           string detailMessageFormat, params object [] args)
 {
     TraceImpl.Assert(condition,
                      message,
                      string.Format(detailMessageFormat, args));
 }
示例#2
0
文件: Debug.cs 项目: szafranr/mono
        public static void Assert(bool condition, string message,
                                  string detailMessageFormat, params object [] args)
        {
            if (condition)
            {
                // Return early to avoid the string formatting
                return;
            }

            TraceImpl.Assert(condition,
                             message,
                             string.Format(detailMessageFormat, args));
        }
示例#3
0
 public static void Assert(bool condition, string message,
                           string detailMessage)
 {
     TraceImpl.Assert(condition, message, detailMessage);
 }
示例#4
0
 public static void Assert(bool condition)
 {
     TraceImpl.Assert(condition);
 }