C# 클래스 System.IO.FileCleanupTestBase

Base class for test classes the use temporary files that need to be cleaned up.
상속: IDisposable
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
Dispose ( ) : void

Delete the associated test directory.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Delete the associated test directory.

FileCleanupTestBase ( ) : System.Runtime.CompilerServices

Initialize the test class base. This creates the associated test directory.

GetTestFileName ( int index = null, [ memberName = null, [ lineNumber ) : string

Gets a test file name that is associated with the call site.

GetTestFilePath ( int index = null, [ memberName = null, [ lineNumber ) : string

Gets a test file full path that is associated with the call site.

메소드 상세

Dispose() 공개 메소드

Delete the associated test directory.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Delete the associated test directory.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FileCleanupTestBase() 보호된 메소드

Initialize the test class base. This creates the associated test directory.
protected FileCleanupTestBase ( ) : System.Runtime.CompilerServices
리턴 System.Runtime.CompilerServices

GetTestFileName() 보호된 메소드

Gets a test file name that is associated with the call site.
protected GetTestFileName ( int index = null, [ memberName = null, [ lineNumber ) : string
index int An optional index value to use as a suffix on the file name. Typically a loop index.
memberName [ The member name of the function calling this method.
lineNumber [ The line number of the function calling this method.
리턴 string

GetTestFilePath() 보호된 메소드

Gets a test file full path that is associated with the call site.
protected GetTestFilePath ( int index = null, [ memberName = null, [ lineNumber ) : string
index int An optional index value to use as a suffix on the file name. Typically a loop index.
memberName [ The member name of the function calling this method.
lineNumber [ The line number of the function calling this method.
리턴 string