NanoByte.Common
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
NanoByte.Common.Storage.TemporaryFlagFile Class Reference

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

Inheritance diagram for NanoByte.Common.Storage.TemporaryFlagFile:
NanoByte.Common.Storage.TemporaryDirectory

Public Member Functions

 TemporaryFlagFile (string prefix)
 
- Public Member Functions inherited from NanoByte.Common.Storage.TemporaryDirectory
 TemporaryDirectory ([Localizable(false)] string prefix)
 Creates a uniquely named, empty temporary directory on disk. More...
 
void Dispose ()
 Deletes the temporary directory. More...
 

Static Public Member Functions

static implicit operator string (TemporaryFlagFile dir)
 
- Static Public Member Functions inherited from NanoByte.Common.Storage.TemporaryDirectory
static implicit operator string (TemporaryDirectory dir)
 

Public Attributes

new string Path => System.IO.Path.Combine(base.Path, "flag")
 The fully qualified path of the flag file. More...
 

Properties

bool Set [get, set]
 Indicates or controls whether the file exists. More...
 
- Properties inherited from NanoByte.Common.Storage.TemporaryDirectory
string Path [get]
 The fully qualified path of the temporary directory. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NanoByte.Common.Storage.TemporaryDirectory
virtual void Dispose (bool disposing)
 

Detailed Description

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

Member Data Documentation

◆ Path

new string NanoByte.Common.Storage.TemporaryFlagFile.Path => System.IO.Path.Combine(base.Path, "flag")

The fully qualified path of the flag file.

Property Documentation

◆ Set

bool NanoByte.Common.Storage.TemporaryFlagFile.Set
getset

Indicates or controls whether the file exists.


The documentation for this class was generated from the following file: