Search Results for

Show / Hide Table of Contents

# Interface IUploadProgressService

Tracks upload progress snapshots for chunked upload sessions.

###### Namespace: CoreUpload.Services

###### Assembly: CoreUpload.dll

##### Syntax

    public interface IUploadProgressService

### Methods

#### Get(string)

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

##### Declaration

    UploadProgressInfo? Get(string uploadId)

##### Parameters

Type | Name | Description
--- | --- | ---
string | uploadId |

##### Returns

Type | Description
--- | ---
UploadProgressInfo |

#### Remove(string)

Removes a progress entry once the session is complete or no longer needed.

##### Declaration

    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 mutate it.

##### Declaration

    void Update(string uploadId, Action<UploadProgressInfo> updater)

##### Parameters

Type | Name | Description
--- | --- | ---
string | uploadId |
Action<UploadProgressInfo> | updater |