C# Class Microsoft.DocAsCode.Common.LoggerPhaseScope

Inheritance: IDisposable
ファイルを表示 Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Capture ( ) : object
Dispose ( ) : void
LoggerPhaseScope ( string phaseName ) : System
LoggerPhaseScope ( string phaseName, bool enablePerformanceScope ) : System
Restore ( object captured ) : LoggerPhaseScope
Restore ( object captured, bool enablePerformanceScope ) : LoggerPhaseScope

Private Methods

Method Description
GetPhaseName ( ) : string
LoggerPhaseScope ( CapturedLoggerPhaseScope captured, bool enablePerformanceScope ) : System
SetPhaseName ( string phaseName ) : void

Method Details

Capture() public static method

public static Capture ( ) : object
return object

Dispose() public method

public Dispose ( ) : void
return void

LoggerPhaseScope() public method

public LoggerPhaseScope ( string phaseName ) : System
phaseName string
return System

LoggerPhaseScope() public method

public LoggerPhaseScope ( string phaseName, bool enablePerformanceScope ) : System
phaseName string
enablePerformanceScope bool
return System

Restore() public static method

public static Restore ( object captured ) : LoggerPhaseScope
captured object
return LoggerPhaseScope

Restore() public static method

public static Restore ( object captured, bool enablePerformanceScope ) : LoggerPhaseScope
captured object
enablePerformanceScope bool
return LoggerPhaseScope