System.Diagnostics.Debug.WriteIf C# (CSharp) 메소드

WriteIf() 개인적인 메소드

private WriteIf ( bool condition, object value ) : void
condition bool
value object
리턴 void
        public static void WriteIf(bool condition, object value)
        {
            if (condition)
            {
                Write(value);
            }
        }

Same methods

Debug::WriteIf ( bool condition, object value, string category ) : void
Debug::WriteIf ( bool condition, string message ) : void
Debug::WriteIf ( bool condition, string message, string category ) : void

Usage Example

예제 #1
0
 public static void WriteIf(bool condition, string message, string category)
 {
     DBG.WriteIf(condition, message, category);
 }
All Usage Examples Of System.Diagnostics.Debug::WriteIf