C# 클래스 NStub.Core.BuildSystem

Abstract base class for a hosting system with infrastructure for filesystem access and other low level functionality.
상속: IBuildSystem
파일 보기 프로젝트 열기: Jedzia/NStub

공개 메소드들

메소드 설명
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