Class FilePersistenceInstaller
Abstract installer for FilePersistence (common flow).
Inheritance
FilePersistenceInstaller
Assembly: Serenity.Global.Installation.dll
Syntax
public abstract class FilePersistenceInstaller : PersistenceInstaller, IInstaller
Constructors
FilePersistenceInstaller(string, string)
Declaration
public FilePersistenceInstaller(string companyName, string productName)
Parameters
Fields
_companyName
Declaration
protected readonly string _companyName
Field Value
| Type |
Description |
| string |
Company name for path construction.
|
_factory
Declaration
protected IFilePersistenceDriversFactory _factory
Field Value
_productName
Declaration
protected readonly string _productName
Field Value
| Type |
Description |
| string |
Product name for path construction.
|
Methods
GetPathServiceInstance()
Declaration
public IPathService GetPathServiceInstance()
Returns
Installs the file persistence service.
Declaration
public override void Install(PersistenceInstallerInstallInput input)
Parameters
Overrides
InstallAtomicFileWriterService(string, ILogService)
Installs the atomic file writer service.
Declaration
protected abstract IFileWriterService InstallAtomicFileWriterService(string id, ILogService logService)
Parameters
Returns
Declaration
protected override IBlobStore InstallBlobStore(PersistenceInstallerInstallInput input)
Parameters
Returns
| Type |
Description |
| IBlobStore |
The installed blob store.
|
Overrides
InstallFileSystemService(ILogService)
Installs the file system service.
Declaration
protected abstract IFileSystemService InstallFileSystemService(ILogService logService)
Parameters
Returns
InstallPathService(string, string, ILogService)
Installs the path service.
Declaration
protected abstract IPathService InstallPathService(string companyName, string productName, ILogService logService)
Parameters
Returns
Implements