• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class FileDeletionController

Inheritance
System.Object
ServiceLocator<IFileDeletionController, FileDeletionController>
FileDeletionController
Implements
IFileDeletionController
Inherited Members
ServiceLocator<IFileDeletionController, FileDeletionController>.Instance
ServiceLocator<IFileDeletionController, FileDeletionController>.Factory
ServiceLocator<IFileDeletionController, FileDeletionController>.SetTestableInstance(IFileDeletionController)
ServiceLocator<IFileDeletionController, FileDeletionController>.ClearInstance()
ServiceLocator<IFileDeletionController, FileDeletionController>.GetFactory()
Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke.dll
Syntax
public class FileDeletionController : ServiceLocator<IFileDeletionController, FileDeletionController>, IFileDeletionController

Methods

| Improve this Doc View Source

DeleteFile(IFileInfo)

Deletes the specified file.

Declaration
public void DeleteFile(IFileInfo file)
Parameters
Type Name Description
IFileInfo file

The file to delete.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IFileDeletionController

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS