C# Class Microsoft.DocAsCode.Common.PerformanceScope

Inheritance: IDisposable
Mostrar archivo Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
PerformanceScope ( Action logger = null ) : System
PerformanceScope ( string content ) : System
PerformanceScope ( string content, LogLevel level ) : System

Private Methods

Method Description
GetContent ( string content, System.TimeSpan span ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PerformanceScope() public method

public PerformanceScope ( Action logger = null ) : System
logger Action
return System

PerformanceScope() public method

public PerformanceScope ( string content ) : System
content string
return System

PerformanceScope() public method

public PerformanceScope ( string content, LogLevel level ) : System
content string
level LogLevel
return System