C# Класс System.Diagnostics.TraceSourceTests.TestTraceListener

Наследование: TraceListener
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
Call ( Method method ) : void

Описание методов

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Fail() публичный Метод

public Fail ( string message ) : void
message string
Результат void

Fail() публичный Метод

public Fail ( string message, string detailMessage ) : void
message string
detailMessage string
Результат void

Flush() публичный Метод

public Flush ( ) : void
Результат void

GetCallCount() публичный Метод

Gets the number of times any of the public methods on this instance were called.
public GetCallCount ( Method group ) : int
group Method
Результат int

TestTraceListener() публичный Метод

public TestTraceListener ( String name, bool threadSafe = false ) : System.IO
name String
threadSafe bool
Результат System.IO

TestTraceListener() публичный Метод

public TestTraceListener ( bool threadSafe = false ) : System.IO
threadSafe bool
Результат System.IO

TraceData() публичный Метод

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
Результат void

TraceData() публичный Метод

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
data object
Результат void

TraceEvent() публичный Метод

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
Результат void

TraceEvent() публичный Метод

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
format string
Результат void

TraceTransfer() публичный Метод

public TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId ) : void
eventCache TraceEventCache
source String
id int
message string
relatedActivityId Guid
Результат void

Write() публичный Метод

public Write ( string message ) : void
message string
Результат void

WriteLine() публичный Метод

public WriteLine ( string message ) : void
message string
Результат void