Skip to main content
Version: 8.1

IFileFactory interface

Level: intermediate

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.

note

Use the “.NET class libraries of platform core” documentation to access the full description of the IFileFactory 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.