Configure (IConfigurationSection configSection, String HomeDirectory)
Name | Type |
---|---|
configSection | Microsoft.Extensions.Configuration.IConfigurationSection |
HomeDirectory | String |
CreateFolder (String parentPath, String newFolder)
DeleteFolder (String path, Boolean recursive)
RenameFolder (String path, String newName)
ListFolder (String path)
Name | Type |
---|---|
path | String |
ListFolder (String path, String pattern)
GetFolder (String path)
Name | Type |
---|---|
path | String |
GetFile (String path)
Name | Type |
---|---|
path | String |
GetFileDirectUrl (String path, DateTime expiresOn)
GetFileContents (String path)
Name | Type |
---|---|
path | String |
DeleteFile (String path)
Name | Type |
---|---|
path | String |
RenameFile (String path, String newName)
SaveFile (String parentPath, String newFileName, Stream content, Boolean overwrite)
Name | Type |
---|---|
parentPath | String |
newFileName | String |
content | System.IO.Stream |
overwrite | Boolean |