C# Class Microsoft.DocAsCode.Common.LoggerFileScope

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

Public Methods

Method Description
Capture ( ) : object
Dispose ( ) : void
LoggerFileScope ( string fileName ) : System
Restore ( object captured ) : LoggerFileScope

Private Methods

Method Description
GetFileName ( ) : string
SetFileName ( string fileName ) : void

Method Details

Capture() public static method

public static Capture ( ) : object
return object

Dispose() public method

public Dispose ( ) : void
return void

LoggerFileScope() public method

public LoggerFileScope ( string fileName ) : System
fileName string
return System

Restore() public static method

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