C# 클래스 FluentFs.Core.File

Represents a file used or created in a build
파일 보기 프로젝트 열기: SkightTeam/eLiteWeb 1 사용 예제들

공개 메소드들

메소드 설명
Delete ( ) : void

Deletes the file If the file does not exist no error will be thrown (even if OnError is set to fail)

Delete ( OnError onError ) : void

Deletes the file If the file does not exist no error will be thrown (even if OnError is set to fail) Sets wether to fail or continue if an error occurs

File ( string path ) : FluentFs.Support

FileName ( ) : string

Returns only the file name of the build artifact

ToString ( ) : string

비공개 메소드들

메소드 설명
File ( IFileSystemWrapper fileSystemWrapper, string path ) : FluentFs.Support

메소드 상세

Delete() 공개 메소드

Deletes the file If the file does not exist no error will be thrown (even if OnError is set to fail)
public Delete ( ) : void
리턴 void

Delete() 공개 메소드

Deletes the file If the file does not exist no error will be thrown (even if OnError is set to fail) Sets wether to fail or continue if an error occurs
public Delete ( OnError onError ) : void
onError OnError
리턴 void

File() 공개 메소드

public File ( string path ) : FluentFs.Support
path string Path to the file
리턴 FluentFs.Support

FileName() 공개 메소드

Returns only the file name of the build artifact
public FileName ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string