C# Class BloomTemp.TemporaryFolder

Inheritance: IDisposable
Afficher le fichier Open project: BloomBooks/BloomDesktop Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Delete ( ) : void
GetTemporaryFile ( ) : string
GetTemporaryFile ( string name ) : string
TemporaryFolder ( ) : System

Method Details

Combine() public méthode

public Combine ( ) : string
Résultat string

DeleteFolderThatMayBeInUse() public static méthode

public static DeleteFolderThatMayBeInUse ( string folder ) : void
folder string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetNewTempFile() public méthode

public GetNewTempFile ( bool doCreateTheFile ) : TempFile
doCreateTheFile bool
Résultat TempFile

GetPathForNewTempFile() public méthode

public GetPathForNewTempFile ( bool doCreateTheFile ) : string
doCreateTheFile bool
Résultat string

GetPathForNewTempFile() public méthode

public GetPathForNewTempFile ( bool doCreateTheFile, string extension ) : string
doCreateTheFile bool
extension string
Résultat string

TemporaryFolder() public méthode

public TemporaryFolder ( TemporaryFolder parent, string name ) : System
parent TemporaryFolder
name string
Résultat System

TemporaryFolder() public méthode

public TemporaryFolder ( string name ) : System
name string
Résultat System

TrackExisting() public static méthode

public static TrackExisting ( string path ) : TemporaryFolder
path string
Résultat TemporaryFolder