FileSystemExtensions class
namespace: Serenity assembly: Serenity.Net.Core
IFileSystem extensions to reduce dependency on System.IO, in case these methods are also added to IFileSystem in the future
public static class FileSystemExtensions
Public Members
| name | description |
|---|---|
| static ChangeExtension(…) | Changes the extension of a path string. |
| static Combine(…) | Combines path strings (3 methods) |
| static Copy(…) | Copies a file to another destination by optionally overwriting the destination if it exists |
| static GetDirectoryName(…) | Gets directory name for path |
| static GetExtension(…) | Gets extension for path |
| static GetFileName(…) | Gets file name for path |
| static GetFileNameWithoutExtension(…) | Gets file name without extension for path |
| static IsPathRooted(…) | Gets if the path is rooted |
See Also
- Source: FileSystemExtensions.cs