C# Class AcManager.LargeFilesSharing.FileUploaderBase

Inheritance: ILargeFileUploader
Exibir arquivo Open project: gro-ove/actools

Public Methods

Method Description
GetDirectories ( CancellationToken cancellation ) : Task
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

Protected Methods

Method Description
FileUploaderBase ( string name, bool supportsSigning, bool supportsDirectories ) : System
GetMimeType ( string filename ) : string

Private Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

FileUploaderBase() protected method

protected FileUploaderBase ( string name, bool supportsSigning, bool supportsDirectories ) : System
name string
supportsSigning bool
supportsDirectories bool
return System

GetDirectories() public abstract method

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

GetMimeType() protected static method

protected static GetMimeType ( string filename ) : string
filename string
return string

Prepare() public abstract method

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

Reset() public abstract method

public abstract Reset ( ) : void
return void

SignIn() public abstract method

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

Upload() public abstract method

public abstract 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