Table of Contents

Class TempDirectory

Namespace
Steeltoe.Common.Utils.IO
Assembly
Steeltoe.Common.Utils.dll

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

prefix string

Temporary directory prefix.

Methods

Dispose(bool)

Ensures the temporary path is deleted.

protected override void Dispose(bool disposing)

Parameters

disposing bool

If disposing.

InitializePath()

Creates the temporary directory.

protected override void InitializePath()