alexa
menu

Document Processing

    Show / Hide Table of Contents

    DocumentStorageManager Class

    Manages document lifecycle operations using an IDocumentStorage backend for persistent, externalized storage (DocumentStorage mode / Mode 2).

    Inheritance
    System.Object
    DocumentStorageManager
    Namespace: Syncfusion.AI.AgentTools.Core
    Assembly: Syncfusion.DocumentSDK.AI.AgentTools.dll
    Syntax
    public sealed class DocumentStorageManager : Object
    Remarks

    Unlike the in-memory manager, this class never accesses the local file system directly. All I/O is delegated to the injected IDocumentStorage implementation, which may be backed by Azure Blob Storage, Amazon S3, or any other provider.

    This manager is stateless — it does not track an "active document." Every method requires an explicit document path or ID, making it safe for concurrent use across multiple requests and horizontally scaled instances.

    Constructors

    DocumentStorageManager(IDocumentStorage)

    Initializes a new instance of the DocumentStorageManager class with the specified storage backend.

    Declaration
    public DocumentStorageManager(IDocumentStorage storage)
    Parameters
    Type Name Description
    IDocumentStorage storage

    The IDocumentStorage implementation used for all document I/O.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown when storage is null.

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved