[This is preliminary documentation and is subject to change.]
The FileSystemDirectory type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| FileSystemDirectory |
Internal method that should not be called by developers
|
Methods
| Name | Description | |
|---|---|---|
| CheckCanChange |
Throws when item can not change
(Inherited from FileSystemSessionItem.) | |
| CheckCanChangeAsync |
Async version of CheckCanChange (Inherited from FileSystemSessionItem.) | |
| CreateDirectory |
Creates a directory in this directory
| |
| CreateDirectoryAsync |
Async version of CreateDirectory(String) | |
| CreateFile(String, Int32) |
Creates a new file optionally pre-allocating te specified number of bytes
| |
| CreateFile(String, String, Boolean) |
Puts local existing file into file system
| |
| CreateFileAsync(String, Int32) |
Async version of CreateFile(String, Int32) | |
| CreateFileAsync(String, String, Boolean) |
Async version of CreateFile(String, String, Boolean) | |
| DeepCopyTo |
Performs a deep copy of this directory into another directory that may belong to a different file system.
This method allows to copy directory trees between different file systems i.e. from SVN into AmazonS3 or local file system etc.
| |
| DeepCopyToAsync |
Async version of DeepCopyTo(...)
| |
| Delete |
Deletes this item from file system
(Inherited from FileSystemSessionItem.) | |
| DeleteAsync |
Async version of Delete (Inherited from FileSystemSessionItem.) | |
| Destructor | (Inherited from FileSystemSessionItem.) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
| GetCreationUserAsync |
Async version of [P:CreationUser] (Inherited from FileSystemSessionItem.) | |
| GetFile |
Gets file in this directory or null if it does not exist or not a file
| |
| GetFileAsync |
Async version of GetFile(String) | |
| GetFileNamesAsync |
Async version of [P:FileNames] | |
Serves as the default hash function. (Inherited from | ||
| GetItemAsync |
Async version of Item(string)
| |
| GetLastAccessUserAsync |
Async version of [P:LastAccessUser] (Inherited from FileSystemSessionItem.) | |
| GetModificationUserAsync |
Async version of [P:ModificationUser] (Inherited from FileSystemSessionItem.) | |
| GetRecursiveFileNamesAsync |
Async version of [P:RecursiveFileNames] | |
| GetRecursiveSubDirectoryNamesAsync |
Async version of [P:RecursiveSubDirectoryNames] | |
| GetSizeAsync |
Async version of [P:Size] (Inherited from FileSystemSessionItem.) | |
| GetSubDirectory |
Gets dubdirectory in this directory or null if it does not exist or not a directory
| |
| GetSubDirectoryAsync |
Async version of GetFile(String) | |
| GetSubDirectoryNamesAsync |
Async version of [P:SubDirectoryNames] | |
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| Refresh |
Refreshes the state represented by this item, i.e. this may re-read attributes from remote file system
(Inherited from FileSystemSessionItem.) | |
| RefreshAsync |
Async version of Refresh (Inherited from FileSystemSessionItem.) | |
| Rename |
Renames an item. Check file system capabilities to see if renaming is supported
(Inherited from FileSystemSessionItem.) | |
| RenameAsync |
Async version of Rename(String) (Inherited from FileSystemSessionItem.) | |
| SetCreationTimestampAsync |
Async version of [P:CreationTimestamp] (Inherited from FileSystemSessionItem.) | |
| SetLastAccessTimestampAsync |
Async version of [P:LastAccessTimestamp] (Inherited from FileSystemSessionItem.) | |
| SetModificationTimestampAsync |
Async version of [P:ModificationTimestamp] (Inherited from FileSystemSessionItem.) | |
| SetReadOnlyAsync |
Async version of [P:ReadOnly] (Inherited from FileSystemSessionItem.) | |
| ToString | (Inherited from FileSystemSessionItem.) |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_FileSystem | (Inherited from FileSystemSessionItem.) | |
| m_Handle | (Inherited from FileSystemSessionItem.) | |
| m_Modified | (Inherited from FileSystemSessionItem.) | |
| m_Session | (Inherited from FileSystemSessionItem.) |
Properties
| Name | Description | |
|---|---|---|
| CreationTimestamp |
Gets/sets UTC creation timestamp
(Inherited from FileSystemSessionItem.) | |
| CreationUser |
Gets the user who created this item
(Inherited from FileSystemSessionItem.) | |
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| FileNames |
Returns file names contained in this directory
| |
| FileSystem |
Returns filesystem - this is a shortcut to Session.FileSystem
(Inherited from FileSystemSessionItem.) | |
| Handle |
Returns file system handle for this entity
(Inherited from FileSystemSessionItem.) | |
| IsReadOnly |
Indicates whether this item can change and file system supports modifications
(Inherited from FileSystemSessionItem.) | |
| Item |
Navigates to the specified path relative to this directory
| |
| LastAccessTimestamp |
Gets/sets UTC last access timestamp
(Inherited from FileSystemSessionItem.) | |
| LastAccessUser |
Gets the last user who accessed the item
(Inherited from FileSystemSessionItem.) | |
| MetadataStream |
Returns item metadata stream
(Inherited from FileSystemSessionItem.) | |
| ModificationTimestamp |
Gets/sets UTC modification timestamp
(Inherited from FileSystemSessionItem.) | |
| ModificationUser |
Gets the user who modified this item
(Inherited from FileSystemSessionItem.) | |
| Modified |
Indicates whether anything has changed since last transaction has started
(Inherited from FileSystemSessionItem.) | |
| Name | (Inherited from FileSystemSessionItem.) | |
| ParentPath |
Returns path to directory that contains this item
(Inherited from FileSystemSessionItem.) | |
| Path |
Returns an absolute path for this item
(Inherited from FileSystemSessionItem.) | |
| PermissionsStream |
Returns item permissions stream
(Inherited from FileSystemSessionItem.) | |
| ReadOnly |
Gets/sets readonly attribute
(Inherited from FileSystemSessionItem.) | |
| RecursiveFileNames |
Returns file names contained in this directory and all subdirectories
| |
| RecursiveSubDirectoryNames |
Returns directory names contained in this directory and all subdirectories
| |
| Session |
Returns session through which this object was obtained
(Inherited from FileSystemSessionItem.) | |
| Size |
Returns the byte size of the item, depending on implementation this property may return approximate sizes for files and directories
(i.e in distributed systems)
(Inherited from FileSystemSessionItem.) | |
| SubDirectoryNames |
Returns directory names contained in this directory
|
See Also