Class SystemExtensions
Provides extension methods that convert System.IO types to Singulink.IO.FileSystem types.
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public static class SystemExtensions
Methods
| Name | Description |
|---|---|
| ToCachedInfo(DirectoryInfo, PathOptions) | Creates a cached info snapshot for the directory represented by the DirectoryInfo using the specified options. |
| ToCachedInfo(FileInfo, PathOptions) | Creates a cached info snapshot for the file represented by the FileInfo using the specified options. |
| ToCachedInfo(FileSystemInfo, PathOptions) | Creates a cached info snapshot for the file or directory represented by the FileSystemInfo using the specified options. The returned
instance is either a CachedFileInfo or CachedDirectoryInfo depending on the runtime type of |
| ToPath(DirectoryInfo, PathOptions) | Gets the absolute directory path represented by the DirectoryInfo using the specified options. |
| ToPath(FileInfo, PathOptions) | Gets the absolute file path represented by the FileInfo using the specified options. |
| ToPath(FileSystemInfo, PathOptions) | Gets the absolute path represented by the FileSystemInfo using the specified options. The returned instance is either an IAbsoluteFilePath or IAbsoluteDirectoryPath depending on the runtime type of |