WriteInfo() public method

public WriteInfo ( string info ) : void
info string
return void
Beispiel #1
0
 public void dbug_BeginVisualInvalidateTrace(string strmsg)
 {
     if (dbugEnableGraphicInvalidateTrace)
     {
         if (dbugGraphicInvalidateTracer != null)
         {
             dbugInvalidateTracerStack.Push(dbugGraphicInvalidateTracer);
             dbugGraphicInvalidateTracer.Start(invalidateTracerStreamWriter);
             dbugGraphicInvalidateTracer.WriteInfo(strmsg);
         }
         else
         {
             dbugGraphicInvalidateTracer = new dbugVisualInvalidationTracer(this);
             dbugGraphicInvalidateTracer.Start(invalidateTracerStreamWriter);
             dbugGraphicInvalidateTracer.WriteInfo(strmsg);
         }
     }
 }
Beispiel #2
0
        public void dbug_Init()
        {
            dbugHitTracker          = new dbugHitTestTracker();
            dbugEvalScrollBarTracer = new dbugVisualEvalScrollBarTrace(this);

            if (dbugEnableLayoutProfiler)
            {
                string filename         = dbugCoreConst.dbugRootFolder + "\\layout_trace\\p_" + Guid.NewGuid().ToString() + ".txt";
                System.IO.FileStream fs = new System.IO.FileStream(filename, System.IO.FileMode.Create);

                dbugLayoutProfilerWriter           = new System.IO.StreamWriter(fs);
                dbugLayoutProfilerWriter.AutoFlush = true;
            }
            if (dbugEnableGraphicInvalidateTrace)
            {
                dbugGraphicInvalidateTracer = new dbugVisualInvalidationTracer(this);
                dbugGraphicInvalidateTracer.Start();
                dbugGraphicInvalidateTracer.WriteInfo("root_debug_init()");
            }
        }
 public void dbug_Init(System.IO.StreamWriter hitTestTrackerDebugStreamWriter,
     System.IO.Stream layoutTraceFileStream,
     System.IO.StreamWriter visualInvaldateStreamWriter
     )
 {
     dbugHitTracker = new dbugHitTestTracker(hitTestTrackerDebugStreamWriter);
     dbugEvalScrollBarTracer = new dbugVisualEvalScrollBarTrace(this);
     if (dbugEnableLayoutProfiler)
     {
         //string filename = dbugCoreConst.dbugRootFolder + "\\layout_trace\\p_" + Guid.NewGuid().ToString() + ".txt";
         //System.IO.FileStream fs = new System.IO.FileStream(filename, System.IO.FileMode.Create);
         dbugLayoutProfilerWriter = new System.IO.StreamWriter(layoutTraceFileStream);
         dbugLayoutProfilerWriter.AutoFlush = true;
     }
     if (dbugEnableGraphicInvalidateTrace)
     {
         dbugGraphicInvalidateTracer = new dbugVisualInvalidationTracer(this);
         dbugGraphicInvalidateTracer.Start(visualInvaldateStreamWriter);
         dbugGraphicInvalidateTracer.WriteInfo("root_debug_init()");
     }
 }
 public void dbug_BeginVisualInvalidateTrace(string strmsg)
 {
     if (dbugEnableGraphicInvalidateTrace)
     {
         if (dbugGraphicInvalidateTracer != null)
         {
             dbugInvalidateTracerStack.Push(dbugGraphicInvalidateTracer);
             dbugGraphicInvalidateTracer.Start(invalidateTracerStreamWriter);
             dbugGraphicInvalidateTracer.WriteInfo(strmsg);
         }
         else
         {
             dbugGraphicInvalidateTracer = new dbugVisualInvalidationTracer(this);
             dbugGraphicInvalidateTracer.Start(invalidateTracerStreamWriter);
             dbugGraphicInvalidateTracer.WriteInfo(strmsg);
         }
     }
 }