C# Class System.Diagnostics.TraceSourceTests.TestTraceListener

Inheritance: TraceListener
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Fail ( string message ) : void
Fail ( string message, string detailMessage ) : void
Flush ( ) : void
GetCallCount ( Method group ) : int

Gets the number of times any of the public methods on this instance were called.

TestTraceListener ( String name, bool threadSafe = false ) : System.IO
TestTraceListener ( bool threadSafe = false ) : System.IO
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format ) : void
TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId ) : void
Write ( string message ) : void
WriteLine ( string message ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Call ( Method method ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Fail() public méthode

public Fail ( string message ) : void
message string
Résultat void

Fail() public méthode

public Fail ( string message, string detailMessage ) : void
message string
detailMessage string
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

GetCallCount() public méthode

Gets the number of times any of the public methods on this instance were called.
public GetCallCount ( Method group ) : int
group Method
Résultat int

TestTraceListener() public méthode

public TestTraceListener ( String name, bool threadSafe = false ) : System.IO
name String
threadSafe bool
Résultat System.IO

TestTraceListener() public méthode

public TestTraceListener ( bool threadSafe = false ) : System.IO
threadSafe bool
Résultat System.IO

TraceData() public méthode

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
Résultat void

TraceData() public méthode

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
data object
Résultat void

TraceEvent() public méthode

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
Résultat void

TraceEvent() public méthode

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
format string
Résultat void

TraceTransfer() public méthode

public TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId ) : void
eventCache TraceEventCache
source String
id int
message string
relatedActivityId Guid
Résultat void

Write() public méthode

public Write ( string message ) : void
message string
Résultat void

WriteLine() public méthode

public WriteLine ( string message ) : void
message string
Résultat void