Click or drag to resize

AutoTempFolder Class

A class to create and hold the ownership of a temporary folder. The temporary folder is deleted when the class instance is disposed.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.CommonAutoTempFolder

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class AutoTempFolder : IDisposable

The AutoTempFolder type exposes the following members.

Properties
  NameDescription
Public propertyIsValid
Resolves if the object encapsulates a controlled folder path.
Public propertyPath
The controlled temporary folder.
Top
Methods
  NameDescription
Public methodStatic memberAttach
Attaches and takes ownership of an existing temporary folder.
Public methodStatic memberCreate
Creates a automatically controlled temporary folder.
Public methodDetach
Detaches the temporary folder from the object, so that the object doesn't control the folder any longer. The caller receives the ownership of the folder.
Public methodDispose
Deletes the temporary folder (with content).
Protected methodDispose(Boolean)
Deletes the temporary folder (with content).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
The single empty instance.
Top
See Also