コード例 #1
0
ファイル: InfocardTrace.cs プロジェクト: dox0/DotNet471RS3
 //
 // Summary
 // The following series of calls enable finer grained control over tracing in the client
 // All calls simply delegate down to the indigo DiagnosticTrace implementation which
 // triggers it's behaviour based on the currently configured listeners.
 //
 // Remarks
 // Typical usage is
 // if( IDT.ShouldTraceVerbose() )
 // {
 //     string toTrace = this.SafeDumpState();
 //     IDT.TraceVerbose( InfocardTraceCode.InfoCardCreated, toTrace );
 // }
 //
 public static bool ShouldTrace(TraceEventType type)
 {
     return(DiagnosticUtility.ShouldTrace(type));
 }
コード例 #2
0
ファイル: InfocardTrace.cs プロジェクト: dox0/DotNet471RS3
 //
 // Facade functions to allow simple call semantics.
 //
 public static void FailFast(string message)
 {
     DiagnosticUtility.FailFast(message);
 }