Class TempFile
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 TempFile : TempPath, IDisposable
- Inheritance
-
TempFile
- Implements
- Inherited Members
Constructors
TempFile(string)
Initializes a new instance of the TempFile class.
public TempFile(string prefix = null)
Parameters
prefixstringTemporary file prefix.
Methods
Dispose(bool)
Ensures the temporary path is deleted.
protected override void Dispose(bool disposing)
Parameters
disposingboolIf disposing.
InitializePath()
Creates the temporary file.
protected override void InitializePath()