Class TempDirectory
A temporary directory.
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class TempDirectory : TempPath, IDisposable
- Inheritance
-
TempDirectory
- Implements
- Derived
- Inherited Members
Constructors
TempDirectory(string)
Initializes a new instance of the TempDirectory class.
public TempDirectory(string prefix = null)
Parameters
prefixstringTemporary directory prefix.
Methods
Dispose(bool)
Ensures the temporary path is deleted.
protected override void Dispose(bool disposing)
Parameters
disposingboolIf disposing.
InitializePath()
Creates the temporary directory.
protected override void InitializePath()