C# Класс System.IO.FileCleanupTestBase

Base class for test classes the use temporary files that need to be cleaned up.
Наследование: IDisposable
Показать файл Открыть проект

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

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