Class FileDeletionController
Inheritance
System.Object
FileDeletionController
Implements
Inherited Members
Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke.dll
Syntax
public class FileDeletionController : ServiceLocator<IFileDeletionController, FileDeletionController>, IFileDeletionController
Methods
| Improve this Doc View SourceDeleteFile(IFileInfo)
Deletes the specified file.
Declaration
public void DeleteFile(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file | The file to delete. |
DeleteFileData(IFileInfo)
Deletes the specified file metadata.
Declaration
public void DeleteFileData(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file | The file to delete its metadata. |
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<IFileDeletionController> GetFactory()
Returns
Type | Description |
---|---|
Func<IFileDeletionController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.FileSystem.Internal.IFileDeletionController, DotNetNuke.Services.FileSystem.Internal.FileDeletionController>.GetFactory()
|
Improve this Doc
View Source
UnlinkFile(IFileInfo)
Unlinks the specified file.
Declaration
public void UnlinkFile(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file | The file to unlink. |