C# Class BloomTemp.TemporaryFolder

Inheritance: IDisposable
Mostra file Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Methods

Method Description
Combine ( ) : string
DeleteFolderThatMayBeInUse ( string folder ) : void
Dispose ( ) : void
GetNewTempFile ( bool doCreateTheFile ) : TempFile
GetPathForNewTempFile ( bool doCreateTheFile ) : string
GetPathForNewTempFile ( bool doCreateTheFile, string extension ) : string
TemporaryFolder ( TemporaryFolder parent, string name ) : System
TemporaryFolder ( string name ) : System
TrackExisting ( string path ) : TemporaryFolder

Private Methods

Method Description
Delete ( ) : void
GetTemporaryFile ( ) : string
GetTemporaryFile ( string name ) : string
TemporaryFolder ( ) : System

Method Details

Combine() public method

public Combine ( ) : string
return string

DeleteFolderThatMayBeInUse() public static method

public static DeleteFolderThatMayBeInUse ( string folder ) : void
folder string
return void

Dispose() public method

public Dispose ( ) : void
return void

GetNewTempFile() public method

public GetNewTempFile ( bool doCreateTheFile ) : TempFile
doCreateTheFile bool
return TempFile

GetPathForNewTempFile() public method

public GetPathForNewTempFile ( bool doCreateTheFile ) : string
doCreateTheFile bool
return string

GetPathForNewTempFile() public method

public GetPathForNewTempFile ( bool doCreateTheFile, string extension ) : string
doCreateTheFile bool
extension string
return string

TemporaryFolder() public method

public TemporaryFolder ( TemporaryFolder parent, string name ) : System
parent TemporaryFolder
name string
return System

TemporaryFolder() public method

public TemporaryFolder ( string name ) : System
name string
return System

TrackExisting() public static method

public static TrackExisting ( string path ) : TemporaryFolder
path string
return TemporaryFolder