FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Class FileProcessor

    Represents a base class for processing files in a file repository.

    Inheritance
    object
    FileProcessor
    DocumentPdfConversionProcessor
    FileFormatValidationProcessor
    ImageProcessor
    PdfImageExtractionProcessor
    VideoFrameExtractionProcessor
    VideoProcessor
    Implements
    IFileProcessingPipelineProvider
    IFileProcessingPipelineSelector
    Namespace: FulcrumFS
    Assembly: FulcrumFS.dll
    Syntax
    public abstract class FileProcessor : IFileProcessingPipelineProvider, IFileProcessingPipelineSelector

    Properties

    Name Description
    AllowedFileExtensions

    Gets the file extensions that this processor allows, including the leading dot (e.g., ".jpg", ".png"), or an empty collection if all file extensions are allowed.

    MemoryStreamManager

    Gets the Microsoft.IO.RecyclableMemoryStreamManager shared by all processors for in-memory work and result streams, so that every processing pipeline in the process draws its memory streams from a single pool.

    ProcessorName

    Gets a string that can be used in progress callbacks to indicate which processor is currently running.

    Methods

    Name Description
    ProcessAsync(FileProcessingContext)

    Processes the file represented by the specified FileProcessingContext.

    ToPipeline(SourceBufferingMode, bool, bool)

    Creates a FileProcessingPipeline that contains this processor.

    WithVariant(string, IFileProcessingPipelineProvider)

    Returns a new FileProcessingPipeline containing this processor with the specified variant appended. Sugar for ToPipeline().WithVariant(variantId, pipeline).

    Explicit Interface Implementations

    Name Description
    IFileProcessingPipelineProvider.GetPipeline()

    Gets the pipeline produced by this provider.

    IFileProcessingPipelineSelector.GetPipeline(string)

    Gets the pipeline to use for processing a file with the specified source extension.

    © Singulink. All rights reserved.