Skip to the content.

FileService class

The Handler for handling all file related IO tasks

public class FileService : IFileService

Public Members

name description
FileService(…) The configuration for a File Handler / Service
Create(…) Create a new File and Get the file from the FileSystem synchronously (4 methods)
CreateAsync(…) Create a new File and Get the file from the FileSystem asynchronously (4 methods)
Delete(…) Delete a file from the FileSystem
DeleteAsync(…) Delete a file from the FileSystem
GetAllFiles(…) Get all existing files on the FileSystem by File Type (2 methods)
GetFile(…) Get an already existing file on the FileSystem
GetNoOfFiles(…) Gets the number of files on the FileSystem. (2 methods)
Move(…) Move a file within root
MoveAsync(…) Move a file within root
Update(…) Update an already existing File and Get the file from the FileSystem synchronously (2 methods)
UpdateAsync(…) Update an already existing File and Get the file from the FileSystem asynchronously (2 methods)

See Also