Class CheckoutCheckinBase
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Checkin and checkout operations
public static class CheckoutCheckinBase
- Inheritance
-
CheckoutCheckinBase
- Inherited Members
Methods
CheckInFromFileSystemAsync(ServiceConnection, IFileUploadInfo, CheckInActionParameters)
Checks document in from file system.
public static Task<DeserializedHttpResponse<Document>> CheckInFromFileSystemAsync(this ServiceConnection serviceConnection, IFileUploadInfo fileToCheckin, CheckInActionParameters checkInParams)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceConnection | serviceConnection | The service connection |
| IFileUploadInfo | fileToCheckin | The file to check in |
| CheckInActionParameters | checkInParams | The parameters |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Document>> | Reference to checked in document |
ChunkCheckInFromFileSystemAsync(ServiceConnection, IFileUploadInfo, CheckInActionParameters, int)
Checks in the specified file from the file system asynchronously.
[Wolf]
public static Task<DeserializedHttpResponse<Document>> ChunkCheckInFromFileSystemAsync(this ServiceConnection serviceConnection, IFileUploadInfo file, CheckInActionParameters checkInParams, int chunkSize = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceConnection | serviceConnection | The service connection. |
| IFileUploadInfo | file | The file. |
| CheckInActionParameters | checkInParams | The checkIn parameters |
| int | chunkSize | Size of the chunk. |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<Document>> | Returns the result of the checkIn operation. |