Click or drag to resize

TempFolder Class

Manages a temporary file system folder to be used for the duration of a unit test.
Inheritance Hierarchy
SystemObject
  Neon.IOTempFolder

Namespace:  Neon.IO
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.2.0
Syntax
public sealed class TempFolder : IDisposable

The TempFolder type exposes the following members.

Constructors
  NameDescription
Public methodTempFolder
Creates a temporary folder.
Top
Properties
  NameDescription
Public propertyPath
Returns the fully qualifed path to the temporary folder.
Public propertyStatic memberRoot
Optionally specifies the root directory where the temporary folders will be created. This defaults to GetTempPath when this is null or empty.
Top
Methods
  NameDescription
Public methodDispose
Deletes the temporary folder and all of its contents.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also