Class BaseDataConsumer<T>.Uploadable
Uploadable.
Inherited Members
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
protected class BaseDataConsumer<T>.Uploadable
Constructors
Uploadable(string, Task<T>)
Initializes a new BaseDataConsumer<T>.Uploadable with the specified values.
Declaration
public Uploadable(string path, Task<T> task)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | File system path or navigation path of the data to upload. |
| Task<T> | task | The task that completes when the upload finishes. |
Fields
attempts
The attempts.
Declaration
public int attempts
Field Value
| Type | Description |
|---|---|
| int |
path
File system path or navigation path.
Declaration
public string path
Field Value
| Type | Description |
|---|---|
| string |
source
The stream to upload from, or null when uploading from path.
Declaration
public Stream source
Field Value
| Type | Description |
|---|---|
| Stream |
startTime
The start time.
Declaration
public DateTime startTime
Field Value
| Type | Description |
|---|---|
| DateTime |
task
The task.
Declaration
public Task<T> task
Field Value
| Type | Description |
|---|---|
| Task<T> |
Methods
Cleanup()
Cleanup.
Declaration
public void Cleanup()