Table of Contents

Class TemporaryFlagFile

Namespace
NanoByte.Common.Storage
Assembly
NanoByte.Common.dll

A temporary directory with a file that may or may not exist to indicate whether a certain condition is true or false.

public class TemporaryFlagFile : TemporaryDirectory
Inheritance
TemporaryFlagFile
Inherited Members
Extension Methods

Constructors

TemporaryFlagFile(string)

A temporary directory with a file that may or may not exist to indicate whether a certain condition is true or false.

public TemporaryFlagFile(string prefix)

Parameters

prefix string

Properties

Path

The fully qualified path of the flag file.

public string Path { get; }

Property Value

string

Set

Indicates or controls whether the file exists.

public bool Set { get; set; }

Property Value

bool

Methods

ToString()

Returns Path.

public override string ToString()

Returns

string

Operators

implicit operator string(TemporaryFlagFile)

public static implicit operator string(TemporaryFlagFile file)

Parameters

file TemporaryFlagFile

Returns

string