|
| | MicroThreadFileProvider (string rootPath) |
| |
| override string | GetAbsolutePath (string path) |
| | Gets the absolute path for the specified local path from this provider. - Parameters
-
| path | The path local to this instance. |
- Returns
- An absolute path.
More...
|
| |
| override Stream | OpenStream (string url, VirtualFileMode mode, VirtualFileAccess access, VirtualFileShare share=VirtualFileShare.Read, StreamFlags streamFlags=StreamFlags.None) |
| | Opens a Stream from the specified path. - Parameters
-
| path | The path. |
| mode | The mode. |
| access | The access. |
| share | The process sharing mode. |
| streamFlags | The type of stream needed |
- Returns
- The opened stream.
More...
|
| |
| override bool | FileExists (string url) |
| | Determines whether the specified path points to an existing file. - Parameters
-
- Returns
More...
|
| |
| override long | FileSize (string url) |
| | Returns the size of the specified file in bytes - Parameters
-
| url | The file or directory for which to obtain size |
- Returns
- A long value representing the file size in bytes
More...
|
| |
| virtual bool | DirectoryExists (string url) |
| | Determines whether the specified path points to an existing directory. More...
|
| |
| virtual string[] | ListFiles (string url, string searchPattern, VirtualSearchOption searchOption) |
| | Returns the list of files from the specified path. - Parameters
-
| path | The path. |
| searchPattern | The search pattern. |
| searchOption | The search option. |
- Returns
- A list of files from the specified path
More...
|
| |
| virtual void | FileDelete (string url) |
| | Deletes the specified file. - Parameters
-
More...
|
| |
| virtual void | FileMove (string sourceUrl, string destinationUrl) |
| | Move the specified file specified from its sourceUrl to the location pointed by destinationUrl. Do not overwrite, throw IOException if the file can't be moved. - Parameters
-
| sourceUrl | The source URL of the file |
| destinationUrl | The destination URL of the file |
More...
|
| |
| virtual void | FileMove (string sourceUrl, IVirtualFileProvider destinationProvider, string destinationUrl) |
| | Move the specified file specified from its sourceUrl to the location pointed by destinationUrl in the destination provider. Do not overwrite, throw IOException if the file can't be moved. - Parameters
-
| sourceUrl | The source URL. |
| destinationProvider | The destination provider. |
| destinationUrl | The destination URL, relative to the destination provider. |
More...
|
| |
| virtual DateTime | GetLastWriteTime (string url) |
| | Returns the date and time the specified file or directory was last written to. - Parameters
-
| url | The file or directory for which to obtain write date and time information. |
- Returns
- A DateTime structure set to the date and time that the specified file or directory was last written to.
More...
|
| |
| virtual void | CreateDirectory (string url) |
| | Creates all directories so that url exists. - Parameters
-
More...
|
| |
Definition at line 10 of file MicroThreadFileProvider.cs.