Class TemporaryFlagFile
A temporary directory with a file that may or may not exist to indicate whether a certain condition is true or false.
Inheritance
TemporaryFlagFile
Assembly: NanoByte.Common.dll
Syntax
public class TemporaryFlagFile : TemporaryDirectory
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.
Declaration
public TemporaryFlagFile(string prefix)
Parameters
Type |
Name |
Description |
System.String |
prefix |
|
Properties
Path
The fully qualified path of the flag file.
Declaration
public string Path { get; }
Property Value
Type |
Description |
System.String |
|
Set
Indicates or controls whether the file exists.
Declaration
public bool Set { get; set; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Operators
Implicit(TemporaryFlagFile to String)
Declaration
public static implicit operator string (TemporaryFlagFile file)
Parameters
Returns
Type |
Description |
System.String |
|
Extension Methods