CoreUpload
Search Results for

    Show / Hide Table of Contents

    Class UploadProgressService

    In-memory implementation of IUploadProgressService backed by a concurrent dictionary.

    Inheritance
    object
    UploadProgressService
    Implements
    IUploadProgressService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CoreUpload.Services
    Assembly: CoreUpload.dll
    Syntax
    public class UploadProgressService : IUploadProgressService

    Methods

    Get(string)

    Gets the latest progress snapshot for an upload session. Returns null when no entry exists.

    Declaration
    public UploadProgressInfo? Get(string uploadId)
    Parameters
    Type Name Description
    string uploadId
    Returns
    Type Description
    UploadProgressInfo

    Remove(string)

    Removes the progress entry for an upload session.

    Declaration
    public void Remove(string uploadId)
    Parameters
    Type Name Description
    string uploadId

    Update(string, Action<UploadProgressInfo>)

    Gets or creates the progress entry for an upload session and lets the caller update it.

    Declaration
    public void Update(string uploadId, Action<UploadProgressInfo> updater)
    Parameters
    Type Name Description
    string uploadId
    Action<UploadProgressInfo> updater

    Implements

    IUploadProgressService
    In this article
    Back to top CoreUpload 5.0 API ReferenceUploader family: AjaxUploader, CoreUpload, MultipleUpload, ASPUploader, and PHP File Uploader.