Table of Contents

Class TempFile

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 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

prefix string

Temporary file 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 file.

protected override void InitializePath()