logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class IOFilePersistenceDriversFactory

    Factory for creating IO file persistence drivers.

    Inheritance
    object
    IOFilePersistenceDriversFactory
    Implements
    IFilePersistenceDriversFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.FilePersistence.Infrastructure.Factories
    Assembly: Serenity.IOFilePersistence.Infrastructure.dll
    Syntax
    public class IOFilePersistenceDriversFactory : IFilePersistenceDriversFactory

    Constructors

    IOFilePersistenceDriversFactory()

    Declaration
    public IOFilePersistenceDriversFactory()

    Methods

    CreateAtomicFileWriter(string, ILogService)

    Create a new instance of IAtomicFileWriter.

    Declaration
    public IFileWriterService CreateAtomicFileWriter(string id, ILogService logService)
    Parameters
    Type Name Description
    string id
    ILogService logService
    Returns
    Type Description
    IFileWriterService

    A new instance of IAtomicFileWriter.

    CreateFileSystemService(ILogService)

    Create a new instance of IFileSystemService.

    Declaration
    public IFileSystemService CreateFileSystemService(ILogService logService)
    Parameters
    Type Name Description
    ILogService logService

    The log service for logging purposes.

    Returns
    Type Description
    IFileSystemService

    A new instance of IFileSystemService.

    CreatePathService(string, string, ILogService)

    Create a new instance of IPathService.

    Declaration
    public IPathService CreatePathService(string companyName, string productName, ILogService logService)
    Parameters
    Type Name Description
    string companyName

    The company name for path service initialization.

    string productName

    The product name for path service initialization.

    ILogService logService

    The log service for logging purposes.

    Returns
    Type Description
    IPathService

    A new instance of IPathService.

    Implements

    IFilePersistenceDriversFactory
    In this article
    © 2026 Serenity. All Rights Reserved