IFileFactory interface

Medium

Terrasoft.File.Abstractions namespace.

The Terrasoft.File.Abstractions.IFileFactory interface provides a set of methods to get or create an instance of the class that implements the Terrasoft.File.Abstractions.IFile interface.

Properties 

UseRights bool

Determines if the permissions of the user are considered when creating a file.

Methods 

IFile Get(IFileLocator fileLocator, FileOptions options)

Returns an instance of the class that implements the IFile interface with the specified options parameters from a given fileLocator

IFile Create(IFileLocator fileLocator, FileOptions options)

Creates an instance of the class that implements the IFile interface with the specified options parameters for a given fileLocator.