C# Class AcManager.LargeFilesSharing.GoogleDrive.GoogleDriveUploader

Inheritance: FileUploaderBase
Show file Open project: gro-ove/actools

Public Methods

Method Description
GetDirectories ( CancellationToken cancellation ) : Task
GoogleDriveUploader ( ) : System
Prepare ( CancellationToken cancellation ) : Task
Reset ( ) : void
SignIn ( CancellationToken cancellation ) : Task
Upload ( string name, string originalName, string mimeType, string description, byte data, IProgress progress, CancellationToken cancellation ) : Task

Private Methods

Method Description
GetAutenficationCode ( string clientId, CancellationToken cancellation ) : Task

Method Details

GetDirectories() public method

public GetDirectories ( CancellationToken cancellation ) : Task
cancellation System.Threading.CancellationToken
return Task

GoogleDriveUploader() public method

public GoogleDriveUploader ( ) : System
return System

Prepare() public method

public Prepare ( CancellationToken cancellation ) : Task
cancellation System.Threading.CancellationToken
return Task

Reset() public method

public Reset ( ) : void
return void

SignIn() public method

public SignIn ( CancellationToken cancellation ) : Task
cancellation System.Threading.CancellationToken
return Task

Upload() public method

public Upload ( string name, string originalName, string mimeType, string description, byte data, IProgress progress, CancellationToken cancellation ) : Task
name string
originalName string
mimeType string
description string
data byte
progress IProgress
cancellation System.Threading.CancellationToken
return Task