C# Класс NStub.Core.BuildSystem

Abstract base class for a hosting system with infrastructure for filesystem access and other low level functionality.
Наследование: IBuildSystem
Показать файл Открыть проект

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

Метод Описание
CreateDirectory ( string path ) : DirectoryInfo

Creates all directories and subdirectories as specified by path.

DirectoryExists ( string directory ) : bool

Determines whether the given path refers to an existing directory on disk.

GetFileNameWithoutExtension ( string path ) : string

Returns the file name of the specified path string without the extension.

GetTextWriter ( string path, bool append ) : TextWriter

Returns a writer that stores text in the specified path.

Защищенные методы

Метод Описание
BuildSystem ( ) : System.IO

Initializes a new instance of the BuildSystem class.

Описание методов

BuildSystem() защищенный Метод

Initializes a new instance of the BuildSystem class.
protected BuildSystem ( ) : System.IO
Результат System.IO

CreateDirectory() публичный Метод

Creates all directories and subdirectories as specified by path.
public CreateDirectory ( string path ) : DirectoryInfo
path string The directory path to create.
Результат System.IO.DirectoryInfo

DirectoryExists() публичный Метод

Determines whether the given path refers to an existing directory on disk.
public DirectoryExists ( string directory ) : bool
directory string The path to test.
Результат bool

GetFileNameWithoutExtension() публичный Метод

Returns the file name of the specified path string without the extension.
path contains one or more of the invalid characters defined in System.IO.Path.GetInvalidPathChars().
public GetFileNameWithoutExtension ( string path ) : string
path string The path of the file.
Результат string

GetTextWriter() публичный Метод

Returns a writer that stores text in the specified path.
public GetTextWriter ( string path, bool append ) : TextWriter
path string The filename to write data to.
append bool if set to true appends the file.
Результат System.IO.TextWriter